Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 1 | // RUN: clang %s -E 2>&1 | grep 'DO_PRAGMA (STR' && |
Chris Lattner | e7fb484 | 2009-02-15 20:52:18 +0000 | [diff] [blame^] | 2 | // RUN: clang %s -E 2>&1 | grep '7:3' |
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 3 | |
4 | #define DO_PRAGMA _Pragma | ||||
5 | #define STR "GCC dependency \"parse.y\"") | ||||
Chris Lattner | e7fb484 | 2009-02-15 20:52:18 +0000 | [diff] [blame^] | 6 | // Test that this line is printed by caret diagnostics. |
7 | DO_PRAGMA (STR |