summaryrefslogtreecommitdiff
path: root/gcc_arm/testsuite/g++.old-deja/g++.pt/crash24.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/crash24.C')
-rwxr-xr-xgcc_arm/testsuite/g++.old-deja/g++.pt/crash24.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/crash24.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/crash24.C
new file mode 100755
index 0000000..9c31af6
--- /dev/null
+++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/crash24.C
@@ -0,0 +1,11 @@
+// Build don't link:
+
+template<typename T, template <class> class U> void template_fn (T);
+template<typename T> void callme ( void (*)(T));
+
+template<typename T> struct S1;
+
+int main()
+{
+ callme(&template_fn<double, S1>);
+}