aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr44515.c
blob: dbb7750907c3c8451c1a490699bfada96b9f4312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { 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 "" } */