summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pragma-ep-2.c
blob: 1151d9b4bf142ad18e4ecbb6e46852eb013dabb5 (plain)
1
2
3
4
5
6
7
/* { dg-do compile { target *-*-osf5* } } */

#pragma extern_prefix			/* { dg-warning "malformed" } */
#pragma extern_prefix foo		/* { dg-warning "malformed" } */
#pragma extern_prefix "foo" 1		/* { dg-warning "junk" } */

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