clang/test/Driver/no-common.c
raw| 1 | // RUN: %clang -target %itanium_abi_triple -### -c %s 2>&1 | \ |
| 2 | // RUN: FileCheck %s --check-prefix=DEFAULT |
| 3 | // RUN: %clang -target %itanium_abi_triple -fno-common -### -c %s 2>&1 | \ |
| 4 | // RUN: FileCheck %s --check-prefix=DEFAULT |
| 5 | // RUN: %clang -target %itanium_abi_triple -fno-common -fcommon -### -c %s 2>&1 | \ |
| 6 | // RUN: FileCheck %s --check-prefix=COMMON |
| 7 | |
| 8 | // DEFAULT-NOT: "-fcommon" |
| 9 | // COMMON: "-fcommon" |