diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/array1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/array1.C | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/array1.C b/gcc/testsuite/g++.old-deja/g++.pt/array1.C deleted file mode 100644 index 669600f0443..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/array1.C +++ /dev/null @@ -1,10 +0,0 @@ -template <class T, unsigned N> - unsigned size(T (&)[N]) { return N; } -template <class T, unsigned N> - unsigned size(T const (&)[N]) { return N; } - -int main() { - short iarray[] = { 1, 2, 3, 4, 5 }; - const short carray[] = { 1, 2, 3, 4, 5 }; - return size(iarray) - size(carray); -} |