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
/
instantiate-elab-type-specifier.cpp
blob
5db9b56c21a47c255af581cba9bafb42adb7a128
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
// PR5681
5
template
<
class
T
>
struct
Base
{
6
struct
foo
{};
7
int
foo
;
8
};
9
10
template
<
class
T
>
struct
Derived
:
Base
<
T
> {
11
typedef
struct
Base
<
T
>::
foo type
;
12
};
13
14
template
struct
Derived
<
int
>;