2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -E | grep "^ 4"
|
2006-06-30 00:25:13 +08:00
|
|
|
#define FOO __LINE__
|
|
|
|
|
|
|
|
FOO
|
2009-02-16 05:06:15 +08:00
|
|
|
|
|
|
|
// PR3579 - This should expand to the __LINE__ of the ')' not of the X.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -E | grep "^A 13"
|
2009-02-16 05:06:15 +08:00
|
|
|
|
|
|
|
#define X() __LINE__
|
|
|
|
|
|
|
|
A X(
|
|
|
|
|
|
|
|
)
|