helper: add get_last_statement_from_expression_stmt() [build fix]
[smatch.git] / validation / preprocessor / stringify.c
blob7fe965d52a6642350313ffb1daae571dbf0f98c7
1 #define A(x) #x
2 A('a')
3 A("a")
4 A(a)
5 A(\n)
6 A('\n')
7 A("\n")
8 A('"')
9 A("a\nb")
10 A(L"a\nb")
11 A('\12')
13 * check-name: Preprocessor #14
14 * check-command: sparse -E $file
16 * check-output-start
18 "'a'"
19 "\"a\""
20 "a"
21 "\n"
22 "'\\n'"
23 "\"\\n\""
24 "'\"'"
25 "\"a\\nb\""
26 "L\"a\\nb\""
27 "'\\12'"
28 * check-output-end