aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/include-macros.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-10 16:51:32 +0000
committerChris Lattner <sabre@nondot.org>2009-04-10 16:51:32 +0000
commit4fa37accaea4b1f2cf675c28375d7dd3500c715c (patch)
tree3c6fedb0bbb4c3e40fbc535b66410bc6abfd16ad /test/Preprocessor/include-macros.c
parent871eb7c891f514562b354f09d75793bee1a33186 (diff)
use doug's new %S thing to make this work when run from different locations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/include-macros.c')
-rw-r--r--test/Preprocessor/include-macros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Preprocessor/include-macros.c b/test/Preprocessor/include-macros.c
index c085e0c07e..d64ee5e3e6 100644
--- a/test/Preprocessor/include-macros.c
+++ b/test/Preprocessor/include-macros.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -Dtest=FOO -imacros pr2086.h %s | grep 'HERE: test'
+// RUN: clang-cc -E -Dtest=FOO -imacros %S/pr2086.h %s | grep 'HERE: test'
// This should not be expanded into FOO because pr2086.h undefs 'test'.
HERE: test