Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-4.c
blobaf0d461c3d9eb0c5f694e6d8d54675c2defb9bc2
1 /* Test visibility attribute on forward declaration of global variable */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-final { scan-hidden "xyzzy" } } */
6 extern int
7 __attribute__((visibility ("hidden")))
8 xyzzy;
10 int xyzzy = 5;