summaryrefslogtreecommitdiff
path: root/test/Driver/as-w-option.c
blob: 5277701dd1334b137cf8ac0ff9ff63ece5c844c1 (plain)
1
2
3
4
5
6
7
// RUN: %clang -### %s -c -o tmp.o -fno-integrated-as --target=x86_64-linux-gnu -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-NOIAS %s
// RUN: %clang -### %s -c -o tmp.o -integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-IAS %s

// CHECK-IAS: "-cc1" {{.*}} "-massembler-no-warn"
// CHECK-NOIAS: "-W"

__asm(".warning");