diff options
| author | Alp Toker <alp@nuanti.com> | 2014-01-16 02:37:08 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-01-16 02:37:08 +0000 |
| commit | 11a71128b74b45a86d2a2fc724e3bb90db495509 (patch) | |
| tree | b7923792df07a02f2ce5b5bd81b5d8e98754333e /clang/test/Sema/return.c | |
| parent | b9411ce1f7218e9bce414e20d6198b7a6b8d56c2 (diff) | |
| download | bcm5719-llvm-11a71128b74b45a86d2a2fc724e3bb90db495509.tar.gz bcm5719-llvm-11a71128b74b45a86d2a2fc724e3bb90db495509.zip | |
Forbid driver use in Sema tests
This ports the last Sema tests over to use the frontend directly, and adds a
local lit substitution to disable inappropriate %clang usage under this
directory.
llvm-svn: 199348
Diffstat (limited to 'clang/test/Sema/return.c')
| -rw-r--r-- | clang/test/Sema/return.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/return.c b/clang/test/Sema/return.c index 7e7c8b7b844..cfdbe0c5d4b 100644 --- a/clang/test/Sema/return.c +++ b/clang/test/Sema/return.c @@ -1,4 +1,4 @@ -// RUN: %clang %s -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -Xclang -verify -fblocks -Wno-unreachable-code -Wno-unused-value +// RUN: %clang_cc1 %s -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -verify -fblocks -Wno-unreachable-code -Wno-unused-value // clang emits the following warning by default. // With GCC, -pedantic, -Wreturn-type or -Wall are required to produce the |

