2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction43.C
blob55a79b327f4eb34977c7e645432c7a7d6eba2a78
1 // PR c++/79790
2 // { dg-do compile { target c++17 } }
4 template <int N>
5 struct array
7   int a [N];
8 };
10 array a = { 1, 2, 3 };  // { dg-error "cannot deduce" }