summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr30786.c
blob: f39f83cc88782a32efcde19614d98ae3690896d9 (plain)
1
2
3
4
5
6
7
8
9
/* PR preprocessor/30786 - _Pragma at end of file should not ICE */
/* { dg-do compile } */

/* { dg-error "parenthesized" "" { target *-*-* } 9 } */
/* { dg-error "expected" "" { target *-*-* } 9 } */

int x;

_Pragma