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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor8.C
blob
859bded41971694cec9576487cb21c1dfb1ac2a7
1
// PR c++/28711
2
// { dg-do compile }
3
// { dg-options "" }
4
5
template<int> struct A
6
{
7
int x[1][1];
8
A() : x((int[1][]){{0}}) {} // { dg-error "except the first" }
9
};
10
11
A<0> a;