Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

10 lines
370 B
C

/* e_pragma.c: Erroneous use of _Pragma() operator */
/* { dg-do preprocess } */
/* { dg-options "-std=c99 -pedantic-errors" } */
/* Operand of _Pragma() should be a string literal */
_Pragma( This is not a string literal)
/* { dg-error "_Pragma takes a parenthesized string literal| Operand of _Pragma\\(\\) is not a string literal" "" { target *-*-* } 7 } */