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
/
nsdmi12.C
blob
11618a45a1781d6bad1f1e4443856fed459ca719
1
// PR c++/66001
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct dt
7
{ dt() {} ~ dt() {} };
8
9
struct x {
10
std::initializer_list< dt > f = { {} };
11
} cx;
12
13
struct x2 {
14
struct dt { ~ dt() {} }
15
const & m = {};
16
} cx2;