OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/9335
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor8.C
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;