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
/
initlist63.C
blob
00940479af2490c65fd64b2a7ab23e9275a989fc
1
// Origin PR c++/51475
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct A
7
{
8
A(int*);
9
};
10
11
struct B
12
{
13
const std::initializer_list<A>& x;
14
};
15
16
B b = {{1}}; // { dg-error "" }