c++: Add testcase for already fixed PR97105
This has been fixed by the PR bootstrap/97118 fix. 2020-09-19 Jakub Jelinek <jakub@redhat.com> PR c++/97105 * g++.dg/template/pr97105.C: New test.
This commit is contained in:
parent
1df487a520
commit
4a5ff2b56b
1 changed files with 6 additions and 0 deletions
6
gcc/testsuite/g++.dg/template/pr97105.C
Normal file
6
gcc/testsuite/g++.dg/template/pr97105.C
Normal file
|
@ -0,0 +1,6 @@
|
|||
// PR c++/97105
|
||||
// { dg-do compile }
|
||||
|
||||
template <int> struct A {};
|
||||
extern const A<0> a[];
|
||||
const A<0> a[] = { {} };
|
Loading…
Add table
Reference in a new issue