]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/array1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / array1.C
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 (file)
index 669600f..0000000
+++ /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);
-}