summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-05-16 02:23:45 +0000
committerJohn McCall <rjmccall@apple.com>2011-05-16 02:23:45 +0000
commit92e18ed40fa561cbe533d6a8be2659c2ac1969c4 (patch)
tree9504c796e6baf702be905ed45dac4e36fca74e35
parent7ec4b4342c11b1878139cbd817def1c9a8e59013 (diff)
downloadbcm5719-llvm-92e18ed40fa561cbe533d6a8be2659c2ac1969c4.tar.gz
bcm5719-llvm-92e18ed40fa561cbe533d6a8be2659c2ac1969c4.zip
Stop leaving a.out files around.
llvm-svn: 131396
-rw-r--r--clang/test/Frontend/diagnostic-name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Frontend/diagnostic-name.c b/clang/test/Frontend/diagnostic-name.c
index 7f43f65d718..ae6cb0dd199 100644
--- a/clang/test/Frontend/diagnostic-name.c
+++ b/clang/test/Frontend/diagnostic-name.c
@@ -1,5 +1,5 @@
-// RUN: %clang -Wunused-parameter -fdiagnostics-show-name %s 2>&1 | grep "\[warn_unused_parameter\]" | count 1
-// RUN: %clang -Wunused-parameter -fno-diagnostics-show-name %s 2>&1 | grep "\[warn_unused_parameter\]" | count 0
+// RUN: %clang -fsyntax-only -Wunused-parameter -fdiagnostics-show-name %s 2>&1 | grep "\[warn_unused_parameter\]" | count 1
+// RUN: %clang -fsyntax-only -Wunused-parameter -fno-diagnostics-show-name %s 2>&1 | grep "\[warn_unused_parameter\]" | count 0
int main(int argc, char *argv[]) {
return argc;
}
OpenPOWER on IntegriCloud