You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
272 B
8 lines
272 B
4 months ago
|
// RUN: c-index-test -test-print-visibility %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
|