diff options
Diffstat (limited to 'test/Driver/env-include-paths.c')
-rw-r--r-- | test/Driver/env-include-paths.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/Driver/env-include-paths.c b/test/Driver/env-include-paths.c index ced24311c0..11876c315b 100644 --- a/test/Driver/env-include-paths.c +++ b/test/Driver/env-include-paths.c @@ -2,8 +2,7 @@ // RUN: env CPATH="" clang -fsyntax-only -verify -DAS_SOURCE %s && // RUN: env CPATH="xyz:xyz" clang -fsyntax-only -verify -DAS_SOURCE %s && // RUN: cd $(dirname %s) && -// RUN: env CPATH="xyz::xyz" clang -fsyntax-only -verify -DSHOULD_FIND -DAS_SOURCE %s && -// RUN: env CPATH="../Driver" clang -fsyntax-only -verify -DSHOULD_FIND -DAS_SOURCE %s +// RUN: env CPATH="xyz::xyz" clang -fsyntax-only -verify -DSHOULD_FIND -DAS_SOURCE %s #ifdef AS_SOURCE #undef AS_SOURCE @@ -12,16 +11,11 @@ #ifdef SHOULD_FIND #include <env-include-paths.c> -#else -/* expected-error {{file not found}} */ #include <env-include-paths.c> #endif #undef AS_INCLUDE #endif -#ifdef AS_INCLUDE /* expected-warning {{Hello}} */ #warning "Hello" - -#endif |