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][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
member-initializers.cpp
blob
6791048874f8f1e18d8659ff1ca2f766f393a2c8
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
template
<
typename T
>
struct
A
{
5
A
() :
j
(
10
),
i
(
10
) { }
6
7
int
i
;
8
int
j
;
9
};
10
11
template
<
typename T
>
struct
B
:
A
<
T
> {
12
B
() :
A
<
T
>() { }
13
};
14