From: Nico Weber Date: Wed, 10 Jul 2019 23:50:16 +0000 (+0000) Subject: Attempt to fix bots after r365703 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a6de7ede58f89a0cd31ac8b8e297514baab3abd;p=clang Attempt to fix bots after r365703 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365714 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/as-options.s b/test/Driver/as-options.s index e04c959b8b..48f19567b3 100644 --- a/test/Driver/as-options.s +++ b/test/Driver/as-options.s @@ -39,10 +39,22 @@ // Test that assembler options don't cause warnings when there's no assembler // stage. -// RUN: %clang -mincremental-linker-compatible -E -o /dev/null %s 2>&1 \ +// RUN: %clang -mincremental-linker-compatible -E \ +// RUN: -o /dev/null -x c++ %s 2>&1 \ // RUN: | FileCheck --check-prefix=WARN --allow-empty %s -// RUN: %clang -mimplicit-it=always -target armv7-linux-gnueabihf -E %s \ +// RUN: %clang -mincremental-linker-compatible -E \ +// RUN: -o /dev/null -x assembler-with-cpp %s 2>&1 \ // RUN: | FileCheck --check-prefix=WARN --allow-empty %s -// RUN: %clang -Wa,-mbig-obj -target i386-pc-windows -E %s \ +// RUN: %clang -mimplicit-it=always -target armv7-linux-gnueabi -E \ +// RUN: -o /dev/null -x c++ %s 2>&1 \ +// RUN: | FileCheck --check-prefix=WARN --allow-empty %s +// RUN: %clang -mimplicit-it=always -target armv7-linux-gnueabi -E \ +// RUN: -o /dev/null -x assembler-with-cpp %s 2>&1 \ +// RUN: | FileCheck --check-prefix=WARN --allow-empty %s +// RUN: %clang -Wa,-mbig-obj -target i386-pc-windows -E \ +// RUN: -o /dev/null -x c++ %s 2>&1 \ +// RUN: | FileCheck --check-prefix=WARN --allow-empty %s +// RUN: %clang -Wa,-mbig-obj -target i386-pc-windows -E \ +// RUN: -o /dev/null -x assembler-with-cpp %s 2>&1 \ // RUN: | FileCheck --check-prefix=WARN --allow-empty %s // WARN-NOT: unused