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
/
SemaTemplate
/
PR25708.cpp
blob
6a214fc6b43bc1d285c453b2b5cfb793983b98d0
1
// RUN: %clang_cc1 -std=c++11 -verify %s
2
// expected-no-diagnostics
3
4
struct
FooAccessor
5
{
6
template
<
typename T
>
7
using
Foo
=
typename
T
::
Foo
;
8
};
9
10
class
Type
11
{
12
friend
struct
FooAccessor
;
13
14
using
Foo
=
int
;
15
};
16
17
int
main
()
18
{
19
FooAccessor
::
Foo
<
Type
>
t
;
20
}