]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
new
authorJason Merrill <jason@gcc.gnu.org>
Mon, 20 Mar 2000 21:37:40 +0000 (16:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Mar 2000 21:37:40 +0000 (16:37 -0500)
From-SVN: r32652

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

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp94.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp94.C
new file mode 100644 (file)
index 0000000..2ba3d39
--- /dev/null
@@ -0,0 +1,9 @@
+// Build don't link:
+// Origin: Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
+
+struct H {
+  template <class T> void k() const { }
+  typedef void (H::*pmf)() const;
+
+  pmf f() const { return &H::k<int>; }
+};