view gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c @ 136:4627f235cf2a

fix c-next example
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 14:11:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
/* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */

int main (int argc, char *argv[])
{
  +;
              /* { dg-error "expected expression" "error test" { xfail *-*-* } .-1 } */
  return 0;
}
/* { dg-excess-errors "expect failure" { xfail *-*-* } } */