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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [visibility-3.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* Test visibility attribute on forward declaration of global variable */
2
/* { dg-require-visibility "" }
3
/* { dg-final { scan-hidden "xyzzy" } } */
4
 
5
int
6
__attribute__((visibility ("hidden")))
7
xyzzy = 5;

powered by: WebSVN 2.1.0

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