view clang/test/Driver/no-common.c @ 221:79ff65ed7e25

LLVM12 Original
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 15 Jun 2021 19:15:29 +0900
parents 0572611fdcc8
children
line wrap: on
line source

// 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"