[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Index / visibility.c
blob1a71ab9b611ed8fa887eabfa48e91868bbd547f4
1 // RUN: c-index-test -index-file %s -target i686-pc-linux \
2 // RUN: | FileCheck %s -check-prefix CHECK -check-prefix CHECK-LINUX
3 // RUN: c-index-test -index-file -Wno-unsupported-visibility %s -target i386-darwin \
4 // RUN: | FileCheck %s -check-prefix CHECK -check-prefix CHECK-DARWIN
6 void __attribute__ (( visibility("default") )) default_visibility();
7 // CHECK: <attribute>: attribute(visibility)=default
8 void __attribute__ (( visibility("hidden") )) hidden_visibility();
9 // CHECK: <attribute>: attribute(visibility)=hidden
10 void __attribute__ (( visibility("protected") )) protected_visibility();
11 // CHECK-LINUX: <attribute>: attribute(visibility)=protected
12 // CHECK-DARWIN: <attribute>: attribute(visibility)=default