summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/torture/pr51344.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/torture/pr51344.C')
-rw-r--r--gcc/testsuite/g++.dg/torture/pr51344.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/torture/pr51344.C b/gcc/testsuite/g++.dg/torture/pr51344.C
index 482c0fae065..49018325e42 100644
--- a/gcc/testsuite/g++.dg/torture/pr51344.C
+++ b/gcc/testsuite/g++.dg/torture/pr51344.C
@@ -1,4 +1,6 @@
/* { dg-do compile } */
+class A;
+
template <class T>
class B
{
OpenPOWER on IntegriCloud