r367182 - [Driver] Additional fixup of NOWARN test case from r367165

Bjorn Pettersson via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 27 13:22:47 PDT 2019


Author: bjope
Date: Sat Jul 27 13:22:47 2019
New Revision: 367182

URL: http://llvm.org/viewvc/llvm-project?rev=367182&view=rev
Log:
[Driver] Additional fixup of NOWARN test case from r367165

Same kind of fix as in r367176, but for "RUN on line 76"
this time.

I'll ask for a post-commit review, to ensure this
matches the intention with the test added in r367165.
But I think this at least will make the buildbots a
little bit happier.

Modified:
    cfe/trunk/test/Driver/as-options.s

Modified: cfe/trunk/test/Driver/as-options.s
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/as-options.s?rev=367182&r1=367181&r2=367182&view=diff
==============================================================================
--- cfe/trunk/test/Driver/as-options.s (original)
+++ cfe/trunk/test/Driver/as-options.s Sat Jul 27 13:22:47 2019
@@ -73,7 +73,7 @@
 
 // -Wa flags shouldn't cause warnings without an assembler stage with
 // -fno-integrated-as either.
-// RUN: %clang -Wa,-mno-warn-deprecated -fno-integrated-as %s -S 2>&1 \
+// RUN: %clang -Wa,-mno-warn-deprecated -fno-integrated-as -x c++ %s -S 2>&1 \
 // RUN:   | FileCheck --check-prefix=NOWARN --allow-empty %s
 
 // But -m flags for the integrated assembler _should_ warn if the integrated




More information about the cfe-commits mailing list