summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/_Pragma-dependency.c
blob: da1d87f741e6ce5f715f7938b4e12e1b7c4f1842 (plain)
1
2
3
4
5
6
7
// RUN: clang-cc %s -E 2>&1 | grep 'DO_PRAGMA (STR' &&
// RUN: clang-cc %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
OpenPOWER on IntegriCloud