aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp/string-3.C
blob: ed9c42ce557552395fa13e4214a1522f3a569984 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/82506
// { dg-do preprocess { target c++11 } }

#define STRINGIZE(A) #A

BEGIN STRINGIZE(R"(
)") END

// { dg-final { scan-file string-3.i "BEGIN \"R\\\\\"\\(\\\\n\\)\\\\\"\"\n    END" } }