diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-07 17:09:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-07 17:09:43 +0000 |
commit | 82fc0cb7883747942326d6d6ca1333b27bd647f0 (patch) | |
tree | f2643c67f9620b5686dbd650fd7ef5d3cee1581d /test/Preprocessor/optimize.c | |
parent | 10d2427386124b69c150bef0163b525404bbb545 (diff) |
Use %s in test, not hard coded name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/optimize.c')
-rw-r--r-- | test/Preprocessor/optimize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Preprocessor/optimize.c b/test/Preprocessor/optimize.c index 55df0c1196..0c2e817d6a 100644 --- a/test/Preprocessor/optimize.c +++ b/test/Preprocessor/optimize.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -Eonly optimize.c -DOPT_O2 -O2 -verify && +// RUN: clang-cc -Eonly %s -DOPT_O2 -O2 -verify && #ifdef OPT_O2 #ifndef __OPTIMIZE__ #error "__OPTIMIZE__ not defined" @@ -8,7 +8,7 @@ #endif #endif -// RUN: clang-cc -Eonly optimize.c -DOPT_O0 -O0 -verify && +// RUN: clang-cc -Eonly %s -DOPT_O0 -O0 -verify && #ifdef OPT_O0 #ifdef __OPTIMIZE__ #error "__OPTIMIZE__ defined" @@ -18,7 +18,7 @@ #endif #endif -// RUN: clang-cc -Eonly optimize.c -DOPT_OS -Os -verify +// RUN: clang-cc -Eonly %s -DOPT_OS -Os -verify #ifdef OPT_OS #ifndef __OPTIMIZE__ #error "__OPTIMIZE__ not defined" |