blob: 52228b5fdbf592e1d88c415bc1be2c72b7b54048 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -E | grep "^ 4"
Reid Spencer5f016e22007-07-11 17:01:13 +00002#define FOO __LINE__
3
4 FOO
Chris Lattnerc8fbd442009-02-15 21:06:15 +00005
6// PR3579 - This should expand to the __LINE__ of the ')' not of the X.
Daniel Dunbara5728872009-12-15 20:14:24 +00007// RUN: %clang_cc1 %s -E | grep "^A 13"
Chris Lattnerc8fbd442009-02-15 21:06:15 +00008
9#define X() __LINE__
10
11A X(
12
13)