summaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_raw_string.cpp
blob: d56894888d1f89b744a07b96daf1670e94e00e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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)");
}