[cfe-commits] r131396 - /cfe/trunk/test/Frontend/diagnostic-name.c

John McCall rjmccall at apple.com
Sun May 15 19:23:45 PDT 2011


Author: rjmccall
Date: Sun May 15 21:23:45 2011
New Revision: 131396

URL: http://llvm.org/viewvc/llvm-project?rev=131396&view=rev
Log:
Stop leaving a.out files around.


Modified:
    cfe/trunk/test/Frontend/diagnostic-name.c

Modified: cfe/trunk/test/Frontend/diagnostic-name.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/diagnostic-name.c?rev=131396&r1=131395&r2=131396&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/diagnostic-name.c (original)
+++ cfe/trunk/test/Frontend/diagnostic-name.c Sun May 15 21:23:45 2011
@@ -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;
 }





More information about the cfe-commits mailing list