annotate clang/test/Index/symbol-visibility.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
1 // RUN: c-index-test -test-print-visibility -fvisibility=default %s | FileCheck %s
150
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 __attribute__ ((visibility ("default"))) void foo1();
anatofuz
parents:
diff changeset
4 __attribute__ ((visibility ("hidden"))) void foo2();
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 // CHECK: FunctionDecl=foo1:3:47visibility=Default
anatofuz
parents:
diff changeset
7 // CHECK: FunctionDecl=foo2:4:46visibility=Hidden