Sign in
llvm
/
clang
/
36a094aaa20f6951a530e9bf0250d9afcf8a341b
/
.
/
test
/
SemaCXX
/
visibility.cpp
blob: 434b3c06c1c5350b4f9016c2d0d8fd10ddf5a2d3 [
file
] [
log
] [
blame
]
// 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
;
}
}