aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/hmc1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/hmc1.C19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C b/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C
deleted file mode 100644
index fec94879950..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link:
-// GROUPS passed templates default-arguments
-template <class I>
-class Class {
-public:
- void func1(int n=1);
- void func2(int d) {}
-};
-template <class I>
-void Class<I>::func1(int n) {}
-
-//if this is replaced by:
-//void Class<I>::func1(int n=1) {}
-//the code compiles.
-
-int main() {
- Class<int> C;
- return 0;
-}