llvm-for-llvmta/tools/clang/test/Preprocessor/macro_raw_string.cpp

12 lines
168 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -E -std=c++11 %s -o %t
// RUN: %clang_cc1 %t
#define FOO(str) foo(#str)
extern void foo(const char *str);
void bar() {
FOO(R"(foo
bar)");
}