* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-weakref-2.c
blob75cc0779c5771bba70da914d839207e984a506ba
1 /* { dg-do compile } */
2 /* { dg-require-weak "" } */
4 typedef int vtype;
6 extern vtype wv1;
7 extern vtype Wv1a __attribute__((weakref ("wv1"))); /* { dg-error "weakref 'Wv1a' must have static linkage" } */