xref: /llvm-project/clang/test/Driver/relative-vtables-flag.cpp (revision 70af0bf6fe462cc16a2e56657d20eeed126d41d0)
1 // RUN: %clangxx --target=aarch64-unknown-fuchsia -fexperimental-relative-c++-abi-vtables -c %s -### 2>&1 | FileCheck %s --check-prefix=RV
2 // RUN: %clangxx --target=aarch64-unknown-fuchsia -fno-experimental-relative-c++-abi-vtables -c %s -### 2>&1 | FileCheck %s --check-prefix=NO-RV
3 // RUN: %clangxx --target=aarch64-unknown-fuchsia -c %s -### 2>&1 | FileCheck %s --check-prefix=NO-RV
4 // RUN: %clangxx --target=aarch64-unknown-linux-gnu -c %s -### 2>&1 | FileCheck %s --check-prefix=NO-RV
5 
6 // RV: "-fexperimental-relative-c++-abi-vtables"
7 // NO-RV-NOT: "-fexperimental-relative-c++-abi-vtables"
8