diff options
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memclass1.C | 13 |
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 (); +} |