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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist62.C
blob
d739ea392928ec0e8e633b241c14159d363e1db1
1
// PR c++/51399
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct A
7
{
8
std::initializer_list<int> x[1] = { 0 }; // { dg-error "could not convert" }
9
A() {}
10
};