view gcc/testsuite/gcc.dg/cpp/pr30786.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR preprocessor/30786 - _Pragma at end of file should not ICE */
/* { dg-do compile } */

int x;

/* { dg-error "parenthesized" "parenthesized" { target *-*-* } .+2 } */
/* { dg-error "expected" "expected" { target *-*-* } .+1 } */
_Pragma