summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash28.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash28.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash28.C14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash28.C b/gcc/testsuite/g++.old-deja/g++.pt/crash28.C
deleted file mode 100644
index 752c9706990..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash28.C
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-// Special g++ Options:
-
-template <class ARRY>
-inline unsigned int asize(ARRY &a)
-{
- return sizeof(a) / sizeof(a[0]);
-}
-
-int f(unsigned int n) {
- int x[n];
-
- asize(x); // ERROR - no matching function
-};