summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/print_line_track.c
blob: 539433d1af040e1834d59b74e60e9f2889fd320e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* RUN: clang-cc -E %s | grep 'a 3' &&
 * RUN: clang-cc -E %s | grep 'b 16' &&
 * RUN: clang-cc -E -P %s | grep 'a 3' &&
 * RUN: clang-cc -E -P %s | grep 'b 16' &&
 * RUN: clang-cc -E %s | not grep '# 0 '
 * PR1848
 * PR3437
*/

#define t(x) x

t(a
3)

t(b
__LINE__)

OpenPOWER on IntegriCloud