view gcc/testsuite/c-c++-common/pr44515.c @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-options "-fdiagnostics-show-caret" } */

void bar(void);
void foo(void)
{
  bar() /* { dg-error "expected ';' before '.' token" } */
}
/* { dg-begin-multiline-output "" }
   bar()
        ^
        ;
 }
 ~       
   { dg-end-multiline-output "" } */