2 // { dg-options "-std=c++0x" }
14 const char s00[] = R"[a]" "[b]";
15 const char s01[] = "[a]" R"*[b]*";
16 const char s02[] = R"[a]" R"[b]";
17 const char s03[] = R"-[a]-" u8"[b]";
18 const char s04[] = "[a]" u8R"MNOPQRSTUVWXYZ[b]MNOPQRSTUVWXYZ";
19 const char s05[] = R"[a]" u8R"wxyzABCDEFGHIJKL[b]wxyzABCDEFGHIJKL";
20 const char s06[] = u8R";([a];(" "[b]";
21 const char s07[] = u8"[a]" R"[b]";
22 const char s08[] = u8R"[a]" R"_{}#()<>%:;.?*+-[b]_{}#()<>%:;.?*+-";
23 const char s09[] = u8R"/^&|~!=,"'\[a]/^&|~!=,"'\" u8"[b]";
24 const char s10[] = u8"[a]" u8R"0123456789abcdef[b]0123456789abcdef";
25 const char s11[] = u8R"ghijklmnopqrstuv[a]ghijklmnopqrstuv" u8R"w[b]w";
27 const char16_t u03[] = R"-[a]-" u"[b]";
28 const char16_t u04[] = "[a]" uR"MNOPQRSTUVWXYZ[b]MNOPQRSTUVWXYZ";
29 const char16_t u05[] = R"[a]" uR"wxyzABCDEFGHIJKL[b]wxyzABCDEFGHIJKL";
30 const char16_t u06[] = uR";([a];(" "[b]";
31 const char16_t u07[] = u"[a]" R"[b]";
32 const char16_t u08[] = uR"[a]" R"_{}#()<>%:;.?*+-[b]_{}#()<>%:;.?*+-";
33 const char16_t u09[] = uR"/^&|~!=,"'\[a]/^&|~!=,"'\" u"[b]";
34 const char16_t u10[] = u"[a]" uR"0123456789abcdef[b]0123456789abcdef";
35 const char16_t u11[] = uR"ghijklmnopqrstuv[a]ghijklmnopqrstuv" uR"w[b]w";
37 const char32_t U03[] = R"-[a]-" U"[b]";
38 const char32_t U04[] = "[a]" UR"MNOPQRSTUVWXYZ[b]MNOPQRSTUVWXYZ";
39 const char32_t U05[] = R"[a]" UR"wxyzABCDEFGHIJKL[b]wxyzABCDEFGHIJKL";
40 const char32_t U06[] = UR";([a];(" "[b]";
41 const char32_t U07[] = U"[a]" R"[b]";
42 const char32_t U08[] = UR"[a]" R"_{}#()<>%:;.?*+-[b]_{}#()<>%:;.?*+-";
43 const char32_t U09[] = UR"/^&|~!=,"'\[a]/^&|~!=,"'\" U"[b]";
44 const char32_t U10[] = U"[a]" UR"0123456789abcdef[b]0123456789abcdef";
45 const char32_t U11[] = UR"ghijklmnopqrstuv[a]ghijklmnopqrstuv" UR"w[b]w";
47 const wchar_t L03[] = R"-[a]-" L"[b]";
48 const wchar_t L04[] = "[a]" LR"MNOPQRSTUVWXYZ[b]MNOPQRSTUVWXYZ";
49 const wchar_t L05[] = R"[a]" LR"wxyzABCDEFGHIJKL[b]wxyzABCDEFGHIJKL";
50 const wchar_t L06[] = LR";([a];(" "[b]";
51 const wchar_t L07[] = L"[a]" R"[b]";
52 const wchar_t L08[] = LR"[a]" R"_{}#()<>%:;.?*+-[b]_{}#()<>%:;.?*+-";
53 const wchar_t L09[] = LR"/^&|~!=,"'\[a]/^&|~!=,"'\" L"[b]";
54 const wchar_t L10[] = L"[a]" LR"0123456789abcdef[b]0123456789abcdef";
55 const wchar_t L11[] = LR"ghijklmnopqrstuv[a]ghijklmnopqrstuv" LR"w[b]w";
60 #define TEST(str, val) \
61 if (sizeof (str) != sizeof (val) \
62 || __builtin_memcmp (str, val, sizeof (str)) != 0) \