OSDN Git Service

d3e088de37cd268d6d147683ab9ca340f9fd259f
[pf3gnuchains/gcc-fork.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 *-*-* } 7 } */
9   return 0;
10 }
11 /* { dg-excess-errors "expect failure" { xfail *-*-* } } */