public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-3292] c++: Add testcase for already fixed PR97105
@ 2020-09-18 22:09 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2020-09-18 22:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4a5ff2b56bfea0b3e154a15e809c5c42dc3b9e9f
commit r11-3292-g4a5ff2b56bfea0b3e154a15e809c5c42dc3b9e9f
Author: Jakub Jelinek <jakub@redhat.com>
Date: Sat Sep 19 00:09:11 2020 +0200
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.
Diff:
---
gcc/testsuite/g++.dg/template/pr97105.C | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gcc/testsuite/g++.dg/template/pr97105.C b/gcc/testsuite/g++.dg/template/pr97105.C
new file mode 100644
index 00000000000..2315972fa60
--- /dev/null
+++ b/gcc/testsuite/g++.dg/template/pr97105.C
@@ -0,0 +1,6 @@
+// PR c++/97105
+// { dg-do compile }
+
+template <int> struct A {};
+extern const A<0> a[];
+const A<0> a[] = { {} };
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-18 22:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 22:09 [gcc r11-3292] c++: Add testcase for already fixed PR97105 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).