llvm-project/clang/test/Index/symbol-visibility.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
272 B
C
Raw Normal View History

// 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