llvm/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp

// RUN: not %clang_cc1 -std=c++11 -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"'

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