aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb14.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.robertl/eb14.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.robertl/eb14.C36
1 files changed, 0 insertions, 36 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb14.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb14.C
deleted file mode 100644
index de00e7baa6b..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.robertl/eb14.C
+++ /dev/null
@@ -1,36 +0,0 @@
-template<int N>
-struct I {
-};
-
-template<class T>
-struct A {
-
- int r;
-
- template<class T1, class T2>
- void operator()(T1, T2)
- { r = 0; }
-
- template<int N1, int N2>
- void operator()(I<N1>, I<N2>)
- { r = 1; }
-};
-
-int main()
-{
- A<float> x;
- I<0> a;
- I<1> b;
-
- x(a,b);
- if (x.r != 1)
- abort();
-
- x(float(), double());
- if (x.r != 0)
- abort();
-
- return 0;
-}
-
-