summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pragma-re-2.c
blob: ee7140133e0895ab1e16aff8d95c4781edf6adb5 (plain)
1
2
3
4
5
6
7
#pragma redefine_extname		/* { dg-warning "malformed" } */
#pragma redefine_extname foo		/* { dg-warning "malformed" } */
#pragma redefine_extname foo 1		/* { dg-warning "malformed" } */
#pragma redefine_extname foo bar 2	/* { dg-warning "junk" } */

int bar; /* silence `ISO C forbids an empty translation unit' warning */