]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
new
authorJason Merrill <jason@gcc.gnu.org>
Fri, 27 Feb 1998 02:53:00 +0000 (21:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 27 Feb 1998 02:53:00 +0000 (21:53 -0500)
From-SVN: r18283

gcc/testsuite/g++.old-deja/g++.pt/memclass1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memclass1.C b/gcc/testsuite/g++.old-deja/g++.pt/memclass1.C
new file mode 100644 (file)
index 0000000..2a9a6f6
--- /dev/null
@@ -0,0 +1,13 @@
+template <class T> struct A {
+  template <class U> struct B {
+    template <class V> void f (V) { }
+    void g () { }
+  };
+};
+
+main ()
+{
+  A<int>::B<char> b;
+  b.f (42);
+  b.g ();
+}