comparison gcc/testsuite/c-c++-common/pr70264.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-options "-fdiagnostics-show-caret" } */
2
3 #define X __LINE__ /* { dg-error "expected" } */
4 X
5
6 /* { dg-begin-multiline-output "" }
7 #define X __LINE__
8 ^~~~~~~~
9 { dg-end-multiline-output "" } */
10 /* { dg-begin-multiline-output "" }
11 X
12 ^
13 { dg-end-multiline-output "" } */