Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
881eb9ce336c1fe29cab92c06a1900fccd0951d1
/
.
/
test
/
SemaTemplate
/
nested-template.cpp
blob: 84b1d35ba91db9a1441154e15d3bd484c8bb70e0 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
class
A
;
class
S
{
public
:
template
<
typename
T
>
struct
A
{
struct
Nested
{
typedef
T type
;
};
};
};
int
i
;
S
::
A
<int>
::
Nested
::
type
*
ip
=
&
i
;