2 // { dg-do compile { target c++11 } }
8 operator "" _s(const char *, size_t)
12 operator "" _t(const char)
16 #define QQUOTE(s) QUOTE(s)
21 const char *s = QQUOTE(QUOTE("hello"_s));
22 const char *t = QUOTE("\"hello\"_s");
23 if (strcmp(s, t) != 0)
26 const char *c = QQUOTE(QUOTE('"'_t));
27 const char *d = QUOTE("'\"'_t");
28 if (strcmp(c, d) != 0)
31 const char *e = QQUOTE(QUOTE('\''_t));
32 const char *f = QUOTE("'\\''_t");
33 if (strcmp(e, f) != 0)
36 const char *g = QQUOTE(QUOTE('\\'_t));
37 const char *h = QUOTE("'\\\\'_t");
38 if (strcmp(g, h) != 0)