OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [redecl1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// Test that we complain about redeclaration with different visibility
2
 
3
struct __attribute((visibility("hidden"))) B;
4
struct __attribute((visibility("default"))) B;  // { dg-warning "visibility" }
5
 
6
__attribute ((visibility ("hidden"))) void f(); // { dg-warning "previous" }
7
__attribute ((visibility ("default"))) void f(); // { dg-warning "visibility" }

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.