| 1 |
// PR preprocessor/57757 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
// { dg-options "-save-temps" } |
| 4 |
|
| 5 |
#define S(x) x |
| 6 |
extern S("C")void exit (int); |
| 7 |
int |
| 8 |
main () |
| 9 |
{ |
| 10 |
(void) (S("foo")and 0); |
| 11 |
const wchar_t *p = S(L"foo")L"bar"; |
| 12 |
const char *a = S("foo")R"(bar)"; |
| 13 |
exit (0); |
| 14 |
} |