aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C
deleted file mode 100644
index 4ff38b6c04c..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C
+++ /dev/null
@@ -1,25 +0,0 @@
-// Build don't link:
-
-void
-print(const int& i)
-{
-}
-
-template<class A>
-class bar
-{
-public:
- template<void (*B)(const A& a)>
- void doit(const A& a)
- {
- B(a);
- }
-};
-
-
-int
-main()
-{
- bar<int> b;
- b.template doit<print>(2);
-}