diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1998-02-26 21:53:00 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-02-26 21:53:00 -0500 |
commit | 81ce6e9a35c49a2f937b8b1d992c153ace6e3163 (patch) | |
tree | a1f64dcf7f9c9ddac48b7d0521269bb5a03db948 | |
parent | 5f311aeccd48242edc9cd75b6e88c8a26ff395b1 (diff) | |
download | gcc-81ce6e9a35c49a2f937b8b1d992c153ace6e3163.zip gcc-81ce6e9a35c49a2f937b8b1d992c153ace6e3163.tar.gz gcc-81ce6e9a35c49a2f937b8b1d992c153ace6e3163.tar.bz2 |
new
From-SVN: r18283
-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 0000000..2a9a6f6 --- /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 (); +} |