2017-12-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79490
* g++.dg/other/fsyntax-only2.C: New.
From-SVN: r255812
+2017-12-19 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/79490
+ * g++.dg/other/fsyntax-only2.C: New.
+
2017-12-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/83444
--- /dev/null
+// PR c++/79490
+// { dg-options -fsyntax-only }
+
+struct IRegistryHub {
+ virtual ~IRegistryHub();
+};
+namespace {
+class A : IRegistryHub {};
+A *fn1();
+}
+void fn2() { delete fn1(); }