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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
local-visibility.cpp
blob
fa2d20c43361069e3dcf366548f8b70b26730d55
1
// RUN: %clang_cc1 -fsyntax-only -fmodules %s -verify
2
// RUN: %clang_cc1 -fsyntax-only %s -verify
3
4
// expected-no-diagnostics
5
template
<
typename Var
>
6
struct
S
{
7
template
<
unsigned
N
>
8
struct
Inner
{ };
9
10
template
<>
11
struct
Inner
<
0
> { };
12
};
13
14
S
<
int
>::
Inner
<
1
>
I1
;
15
S
<
int
>::
Inner
<
0
>
I0
;