llvm-capstone/clang/test/Driver/visibility-inlines-hidden.cpp
Yi Kong dcd7664f92 Add -fno-visibility-inlines-hidden option
This allows overriding -fvisibility-inlines-hidden.

Differential Revision: https://reviews.llvm.org/D103537
2021-06-03 17:07:53 +08:00

8 lines
367 B
C++

// RUN: %clang -### -S -fno-visibility-inlines-hidden -fvisibility-inlines-hidden %s 2>&1 | \
// RUN: FileCheck -check-prefix=CHECK-1 %s
// CHECK-1: "-fvisibility-inlines-hidden"
// RUN: %clang -### -S -fvisibility-inlines-hidden -fno-visibility-inlines-hidden %s 2>&1 | \
// RUN: FileCheck -check-prefix=CHECK-2 %s
// CHECK-2-NOT: "-fvisibility-inlines-hidden"