Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
visibility.cpp
blob: 434b3c06c1c5350b4f9016c2d0d8fd10ddf5a2d3 [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -fsyntax-only %s
namespace
test1
{
template
<
class
C
>
struct
C2
{
static
int
p __attribute__
((
visibility
(
"hidden"
)));
};
int
f
()
{
return
C2
<int>
::
p
;
}
}