re PR c++/79414 (internal compiler error after "error: expected unqualified-id at...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 27 Feb 2017 11:55:19 +0000 (11:55 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 27 Feb 2017 11:55:19 +0000 (11:55 +0000)
2017-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/79414
* g++.dg/parse/crash67.C: New.

From-SVN: r245756

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash67.C [new file with mode: 0644]

index ac001523f324cb6e188adc9795d6ccb212877d09..ef8980790afdd51149d1236bfe94d18ef0179e64 100644 (file)
@@ -1,3 +1,8 @@
+2017-02-27  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/79414
+       * g++.dg/parse/crash67.C: New.
+
 2017-02-27  Bin Cheng  <bin.cheng@arm.com>
 
        PR tree-optimization/77536
diff --git a/gcc/testsuite/g++.dg/parse/crash67.C b/gcc/testsuite/g++.dg/parse/crash67.C
new file mode 100644 (file)
index 0000000..51773cc
--- /dev/null
@@ -0,0 +1,5 @@
+// PR c++/79414
+
+class x0;
+template <x1> x2() {  // { dg-error "declared|type" }
+x0 x3 = x3.  // { dg-error "expected" }