summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/raw-string-8.c
blob: 685b2ef681af4200eb8a0ca71aee7313085534e0 (plain)
1
2
3
4
5
6
7
8
9
10
// Test that we track line numbers properly across newlines
// both escaped and not in raw strings.
// { dg-options "-std=gnu99" { target c } }
// { dg-options "-std=c++0x" { target c++ } }

const char a[] = R"(\

)";

T t;				// { dg-error "" }