
Summary: because we enable -mignore-xcoff-visibility by default when there is no -fvisibility option in the clang in AIX OS it will cause some test case fail at aix os. in order to let the -mignore-xcoff-visibility to be disable, we need to add the -fvisibility=default for those test case. Reviewers: hubert.reinterpretcast daltenty Differential Revision: https://reviews.llvm.org/D98660
8 lines
294 B
C
8 lines
294 B
C
// RUN: c-index-test -test-print-visibility -fvisibility=default %s | FileCheck %s
|
|
|
|
__attribute__ ((visibility ("default"))) void foo1();
|
|
__attribute__ ((visibility ("hidden"))) void foo2();
|
|
|
|
// CHECK: FunctionDecl=foo1:3:47visibility=Default
|
|
// CHECK: FunctionDecl=foo2:4:46visibility=Hidden
|