Mercurial > hg > CbC > CbC_llvm
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 |
rev | line source |
---|---|
207 | 1 // RUN: c-index-test -test-print-visibility -fvisibility=default %s | FileCheck %s |
150 | 2 |
3 __attribute__ ((visibility ("default"))) void foo1(); | |
4 __attribute__ ((visibility ("hidden"))) void foo2(); | |
5 | |
6 // CHECK: FunctionDecl=foo1:3:47visibility=Default | |
7 // CHECK: FunctionDecl=foo2:4:46visibility=Hidden |