Sign in
fuchsia
/
third_party
/
llvm-project
/
refs/heads/upstream/revert-155826-fix-signed-overflow-dense-map
/
.
/
clang
/
test
/
SemaTemplate
/
PR25708.cpp
blob: 6a214fc6b43bc1d285c453b2b5cfb793983b98d0 [
file
] [
log
] [
blame
] [
edit
]
// 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
;
}