[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / no-common.c
blob675de4fee8dc6248b119b2d8df389022c36af69a
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
8 // DEFAULT-NOT: "-fcommon"
9 // COMMON: "-fcommon"