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] Add tracking source deduction guide for the explicitly-written
[llvm-project.git]
/
lldb
/
test
/
API
/
lang
/
cpp
/
nested-template
/
main.cpp
blob
9bef73052825fe757c81158f713bbce6a90fd4cf
1
struct
Outer
{
2
Outer
() {}
3
4
template
<
class
T
>
5
struct
Inner
{};
6
};
7
8
namespace
NS
{
9
namespace
{
10
template
<
typename T
>
struct
Struct
{};
11
template
<
typename T
>
struct
Union
{};
12
}
// namespace
13
}
// namespace NS
14
15
int
main
() {
16
Outer
::
Inner
<
int
>
oi
;
17
NS
::
Struct
<
int
>
ns_struct
;
18
NS
::
Union
<
int
>
ns_union
;
19
}