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

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