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
/
initlist11.C
blob
024466ea866b28d0885781f1826264120b085fd5
1
// PR c++/38684
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct Y {};
7
8
struct X : Y {
9
X(std::initializer_list<int>) {}
10
};
11
12
struct A {
13
X v;
14
};
15
16
int main() {
17
A a{ {1,2,3} };
18
}