aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/cxx-abi-flag.cpp
blob: e6b13dbaf4e40d4bda993f21a6a85a05d07d4439 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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