aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/mangle2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/mangle2.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/mangle2.C23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/mangle2.C b/gcc/testsuite/g++.old-deja/g++.jason/mangle2.C
new file mode 100644
index 00000000000..b1876b71249
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.jason/mangle2.C
@@ -0,0 +1,23 @@
+// I guess this was broken once.
+// Build don't link:
+
+template <class C, int D> class X { };
+typedef X<int, 0> T;
+
+class Y
+{
+ public:
+ ~Y();
+};
+
+class Z
+{
+ public:
+ void f(T**);
+};
+
+void Z::f(T** t)
+{ }
+
+Y::~Y()
+{ }