summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/visibility-c.c
blob: 22412e02b5492f08218292ce27b08748a11c5bf6 (plain)
1
2
3
4
5
6
7
8
9
10
/* Test that visibility works on common symbols also. */
/* { dg-do assemble } */
/* { dg-require-visibility "" } */

int options  __attribute__((__visibility__("hidden")));

void f(void)
{
  options = 0;
}