Mercurial > hg > CbC > CbC_llvm
comparison clang/test/Index/symbol-visibility.c @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 // RUN: c-index-test -test-print-visibility %s | FileCheck %s | |
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 |