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

18 lines
202 B
C++
Raw Normal View History

2023-09-30 01:17:40 +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");