Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
59a9881ab252c80735d6440bd9ca0fbac252e6a8
/
.
/
test
/
SemaTemplate
/
instantiate-elab-type-specifier.cpp
blob: e5e10a85cf2fdb00bfada68e45fe0ca142013f6c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR5681
template
<
class
T
>
struct
Base
{
struct
foo
{};
int
foo
;
};
template
<
class
T
>
struct
Derived
:
Base
<
T
>
{
typedef
struct
Base
<
T
>::
foo type
;
};
template
struct
Derived
<int>
;