PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr49899.c
blobb5b32591ac7088c1a81491dc4fa617efec479c48
1 static int foo (void) { return 0; } /* { dg-error "weak declaration of 'foo' being applied to a already existing, static definition" } */
2 int foo (void) __attribute__((weak));