aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp/string-4.C
blob: 37d0388413c1ea03a4cafed667f4bb2b5d0c21f8 (plain)
1
2
3
4
5
6
// P2621R2 - UB? In My Lexer?
// { dg-do compile }

// [lex.phases] If a U+0027 APOSTROPHE or a U+0022 QUOTATION
// MARK matches the last category, the program is ill-formed.
const char * foo=" // { dg-error "terminating|expected" }