[Driver] Additional fixup of NOWARN test case from r367165
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Sat, 27 Jul 2019 20:22:47 +0000 (20:22 +0000)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Sat, 27 Jul 2019 20:22:47 +0000 (20:22 +0000)
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.

llvm-svn: 367182

clang/test/Driver/as-options.s

index 72e9153..956f07a 100644 (file)
@@ -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