https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00093.html
* g++.dg/lang-dump.C: New.
From-SVN: r254344
+2017-11-02 Nathan Sidwell <nathan@acm.org>
+
+ * g++.dg/lang-dump.C: New.
+
2017-11-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/82795
--- /dev/null
+// { dg-additional-options "-fdump-lang-all" }
+// Just check we don't explode when asking for language dumps. Does
+// not necessarily mean any particular language dump is useful.
+
+struct X
+{
+ int m;
+ virtual ~X ();
+};
+
+X::~X () {}
+
+struct Y : X
+{
+};
+
+int frob (int a)
+{
+ return 2 * a;
+}
+