summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/_Pragma-dependency.c
blob: a2861c97cb85c561bb24cfc113d4c4896405110b (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -E 2>&1 | grep 'DO_PRAGMA (STR'
// RUN: %clang_cc1 %s -E 2>&1 | grep '7:3'

#define DO_PRAGMA _Pragma 
#define STR "GCC dependency \"parse.y\"")
  // Test that this line is printed by caret diagnostics.
  DO_PRAGMA (STR