diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/template24.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/template24.C | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/template24.C b/gcc/testsuite/g++.old-deja/g++.brendan/template24.C deleted file mode 100644 index 34549a001d7..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/template24.C +++ /dev/null @@ -1,20 +0,0 @@ -// GROUPS passed templates -extern "C" void printf (char *, ...); - -template <class F> -class Temp -{ - F func_; -public: - Temp (F f) :func_(f) {} -}; - -int func (int h = 1, int z = 2) { return h+z; } - -int main () -{ - Temp<int(*)(int, int)> temp (func); - - printf ("PASS\n"); - return 0; -} |