repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template24.C
blob
202c67d7321a00c0733921e5533dfa58b6f610d4
1
// PR c++/108116
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct A {
7
A(int);
8
~A();
9
};
10
11
struct B {
12
B(std::initializer_list<A>);
13
};
14
15
struct C {
16
B m{0};
17
};
18
19
template<class>
20
void f() {
21
C c = C{};
22
};