12 lines · cpp
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=ITANIUM4// RUN: %clang -### -fc++-abi=fuchsia -target x86_64-unknown-fuchsia %s \5// RUN: 2>&1 | FileCheck %s -check-prefix=FUCHSIA6// RUN: %clang -### -fc++-abi=microsoft -target x86_64-unknown-windows-msvc %s \7// RUN: 2>&1 | FileCheck %s -check-prefix=MICROSOFT8//9// ITANIUM: -fc++-abi=itanium10// FUCHSIA: -fc++-abi=fuchsia11// MICROSOFT: -fc++-abi=microsoft12