summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template42.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template42.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/template42.C18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template42.C b/gcc/testsuite/g++.old-deja/g++.jason/template42.C
deleted file mode 100644
index 2bd62670f22..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/template42.C
+++ /dev/null
@@ -1,18 +0,0 @@
-// Testcase for not evaluating template default args if they are
-// never used.
-
-struct X {
- X(int) { }
-};
-
-template <class T>
-struct A {
- void f (T t = T()) { }
-};
-
-int main ()
-{
- A<X> a;
- X x (1);
- a.f (x);
-}