testsuite: Fix pragma-eof.c failure due to added line to the test.
[gcc.git] / gcc / testsuite / gcc.test-framework / dg-error-exp-XP.c
1 /* Test the tester; previously part of gcc.misc-tests/dg-9.c. */
2 /* { dg-prms-id 42 } */
3 /* { dg-options "-Wall" } */
4
5 int main (int argc, char *argv[])
6 {
7 +;
8 /* { dg-error "expected expression" "error test" { xfail *-*-* } .-1 } */
9 return 0;
10 }
11 /* { dg-excess-errors "expect failure" { xfail *-*-* } } */