4coder/non-source/test_data/sample_files/parser_test5.cpp

18 lines
219 B
C++
Raw Normal View History

2018-03-16 18:19:11 +00:00
/*
* THIS TESTS:
* - putting stringify at the end of the body
*/
#define M(a) show(#a)
#define N(a) show(#a" = ", a)
#define FOO 10
M(x);
N(y);
N(FOO);
M("hello\n");
M('\\' + "");
M(L"string");