aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/no-common.c
blob: 675de4fee8dc6248b119b2d8df389022c36af69a (plain)
1
2
3
4
5
6
7
8
9
// 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"