Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-c.c
blob22412e02b5492f08218292ce27b08748a11c5bf6
1 /* Test that visibility works on common symbols also. */
2 /* { dg-do assemble } */
3 /* { dg-require-visibility "" } */
5 int options __attribute__((__visibility__("hidden")));
7 void f(void)
9 options = 0;