view gcc/testsuite/c-c++-common/raw-string-6.c @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// { 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" "end" }
	// { dg-error "unterminated raw string" "unterminated" { target *-*-* } .-1 }