blob: 7698d5f43c414ae2187cd1bd7f83154930fd5b42 [file] [log] [blame]
Chris Lattner17016632009-02-15 21:06:15 +00001// RUN: clang %s -E | grep "^ 4" &&
Chris Lattner4b009652007-07-25 00:24:17 +00002#define FOO __LINE__
3
4 FOO
Chris Lattner17016632009-02-15 21:06:15 +00005
6// PR3579 - This should expand to the __LINE__ of the ')' not of the X.
7// RUN: clang %s -E | grep "^A 13"
8
9#define X() __LINE__
10
11A X(
12
13)