summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-27 02:53:00 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-27 02:53:00 +0000
commitdcf347a7fb7cb3754b103174619adb2b0fc891f8 (patch)
treea1f64dcf7f9c9ddac48b7d0521269bb5a03db948 /gcc
parent7a623747c1a6c96c17751e0b99f1f4b66014e318 (diff)
downloadgcc-dcf347a7fb7cb3754b103174619adb2b0fc891f8.tar.gz
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18283 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memclass1.C13
1 files changed, 13 insertions, 0 deletions
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
index 00000000000..2a9a6f6c02e
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.pt/memclass1.C
@@ -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 ();
+}