repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
visibility.cpp
blob
434b3c06c1c5350b4f9016c2d0d8fd10ddf5a2d3
1
// RUN: %clang_cc1 -fsyntax-only %s
2
3
namespace
test1
{
4
template
<
class
C
>
5
struct
C2
6
{
7
static int
p
__attribute__
((
visibility
(
"hidden"
)));
8
};
9
int
f
() {
10
return
C2
<
int
>::
p
;
11
}
12
}