Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
SemaTemplate
/
PR25708.cpp
blob: 6a214fc6b43bc1d285c453b2b5cfb793983b98d0 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++11 -verify %s
// expected-no-diagnostics
struct
FooAccessor
{
template
<
typename
T
>
using
Foo
=
typename
T
::
Foo
;
};
class
Type
{
friend
struct
FooAccessor
;
using
Foo
=
int
;
};
int
main
()
{
FooAccessor
::
Foo
<
Type
>
t
;
}