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/] [visibility-4.C] - Blame information for rev 816

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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