summaryrefslogtreecommitdiffstats
path: root/test/Lexer/cxx0x_raw_string_unterminated.cpp
blob: 7813c999f008a80893bafda4f961af5703e624d7 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"'

const char *str = R"foo(abc
def)bar";
// RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"'

const char *str = R"foo(abc
def)bar";