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
c++: Add [dcl.init.aggr] examples to testsuite
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction43.C
blob
2585eb6194ac8fcd592fe8c8f9a71df00e7591b0
1
// PR c++/79790
2
// { dg-do compile { target c++17 } }
3
4
template <int N>
5
struct array
6
{
7
int a [N];
8
};
9
10
array a = { 1, 2, 3 }; // { dg-error "" }