comparison gcc/testsuite/c-c++-common/raw-string-8.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 // Test that we track line numbers properly across newlines
2 // both escaped and not in raw strings.
3 // { dg-options "-std=gnu99" { target c } }
4 // { dg-options "-std=c++0x" { target c++ } }
5
6 const char a[] = R"(\
7
8 )";
9
10 T t; // { dg-error "" }