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:
Jakub Jelinek 2020-09-19 00:09:11 +02:00
parent 1df487a520
commit 4a5ff2b56b

View file

@ -0,0 +1,6 @@
// PR c++/97105
// { dg-do compile }
template <int> struct A {};
extern const A<0> a[];
const A<0> a[] = { {} };