summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/overload18.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/overload18.C')
-rwxr-xr-xgcc/testsuite/g++.old-deja/g++.jason/overload18.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload18.C b/gcc/testsuite/g++.old-deja/g++.jason/overload18.C
new file mode 100755
index 0000000..d4d9ec1
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.jason/overload18.C
@@ -0,0 +1,6 @@
+// pushdecl gets confused by this.
+// Build don't link:
+
+void f ();
+void f (int, int);
+template <class T> T f (T) { }