aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/raw-string-6.c
blob: a2cb30e96c9e1141321360b16215efeb5784250d (plain)
1
2
3
4
5
6
7
// { dg-do compile }
// { dg-options "-std=gnu99" { target c } }
// { dg-options "-std=c++0x" { target c++ } }

const void *s0 = R"ouch()ouCh"; 	// { dg-error "unterminated raw string" "unterminated" }
// { dg-error "at end of input" "end" { target c } .-1 }
// { dg-error "-:at end of input" "end" { target c++ } .+1 }