llvm-for-llvmta/tools/clang/test/Driver/no-common.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

10 lines
414 B
C

// RUN: %clang -target %itanium_abi_triple -### -c %s 2>&1 | \
// RUN: FileCheck %s --check-prefix=DEFAULT
// RUN: %clang -target %itanium_abi_triple -fno-common -### -c %s 2>&1 | \
// RUN: FileCheck %s --check-prefix=DEFAULT
// RUN: %clang -target %itanium_abi_triple -fno-common -fcommon -### -c %s 2>&1 | \
// RUN: FileCheck %s --check-prefix=COMMON
// DEFAULT-NOT: "-fcommon"
// COMMON: "-fcommon"