summaryrefslogtreecommitdiff
path: root/test/Preprocessor/builtin_line.c
blob: 06a2ac20d04cfa40254d38a39769de404d1cc759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang-cc %s -E | grep "^  4"
#define FOO __LINE__

  FOO

// PR3579 - This should expand to the __LINE__ of the ')' not of the X.
// RUN: clang-cc %s -E | grep "^A 13"

#define X() __LINE__

A X(

)