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