diff options
-rw-r--r-- | clang/test/Driver/as-options.s | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/Driver/as-options.s b/clang/test/Driver/as-options.s index 956f07ac0f2..8f12296e527 100644 --- a/clang/test/Driver/as-options.s +++ b/clang/test/Driver/as-options.s @@ -74,12 +74,13 @@ // -Wa flags shouldn't cause warnings without an assembler stage with // -fno-integrated-as either. // RUN: %clang -Wa,-mno-warn-deprecated -fno-integrated-as -x c++ %s -S 2>&1 \ +// RUN: -o %t.o \ // RUN: | FileCheck --check-prefix=NOWARN --allow-empty %s // But -m flags for the integrated assembler _should_ warn if the integrated // assembler is not in use. -// RUN: %clang -mrelax-all -fintegrated-as -x c++ %s -S 2>&1 \ +// RUN: %clang -mrelax-all -fintegrated-as -x c++ %s -S -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=NOWARN --allow-empty %s -// RUN: %clang -mrelax-all -fno-integrated-as -x c++ %s -S 2>&1 \ +// RUN: %clang -mrelax-all -fno-integrated-as -x c++ %s -S -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=WARN --allow-empty %s // WARN: unused |