repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist98.C
blob
4f2fcd202196cae93c7d39e981d0ab73c981ffba
1
// PR c++/83227
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
template <typename d> struct f {
7
f(std::initializer_list<d>) {}
8
};
9
10
struct h {};
11
struct i : h {
12
i();
13
};
14
void foo(f<h>);
15
int main() {
16
foo({i{}});
17
}