OSDN Git Service

patch for PR rtl-optimization/25130
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / attr-weakref-2.c
1 /* { dg-do compile } */
2 /* { dg-require-weak "" } */
3
4 typedef int vtype;
5
6 extern vtype wv1;
7 extern vtype Wv1a __attribute__((weakref ("wv1"))); /* { dg-error "weakref 'Wv1a' must have static linkage" } */