1 /* { dg-options "-fdiagnostics-show-caret" } */
2 
3 void bar(void);
4 void foo(void)
5 {
6   bar() /* { dg-error "expected ';' before '.' token" } */
7 }
8 /* { dg-begin-multiline-output "" }
9    bar()
10         ^
11         ;
12  }
13  ~
14    { dg-end-multiline-output "" } */
15