1 2 3 4 5 6 7 8 9 10
/* PR 19031 */ /* { dg-do compile } */ /* { dg-require-weak "" } */ /* { dg-require-alias "" } */ /* { dg-options "-funit-at-a-time" } */ /* { dg-final { scan-assembler "xyzzy" } } */ static const int local = 1; #pragma weak xyzzy = local