PR other/22202
[official-gcc.git] / gcc / testsuite / gcc.test-framework / dg-error-exp-XP.c
blobd3e088de37cd268d6d147683ab9ca340f9fd259f
1 /* Test the tester; previously part of gcc.misc-tests/dg-9.c. */
2 /* { dg-prms-id 42 } */
3 /* { dg-options "-Wall" } */
5 int main (int argc, char *argv[])
7 +;
8 /* { dg-error "expected expression" "error test" { xfail *-*-* } 7 } */
9 return 0;
11 /* { dg-excess-errors "expect failure" { xfail *-*-* } } */