view clang/test/Driver/cxx-abi-flag.cpp @ 221:79ff65ed7e25

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

// Ensure that the driver flag is propagated to cc1.
// RUN: %clang -### -fc++-abi=itanium -target x86_64-unknown-linux-gnu %s \
// RUN:   2>&1 | FileCheck %s -check-prefix=ITANIUM
// RUN: %clang -### -fc++-abi=fuchsia -target x86_64-unknown-fuchsia %s \
// RUN:   2>&1 | FileCheck %s -check-prefix=FUCHSIA
// RUN: %clang -### -fc++-abi=microsoft -target x86_64-unknown-windows-msvc %s \
// RUN:   2>&1 | FileCheck %s -check-prefix=MICROSOFT
//
// ITANIUM: -fc++-abi=itanium
// FUCHSIA: -fc++-abi=fuchsia
// MICROSOFT: -fc++-abi=microsoft