]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/deduct6.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / deduct6.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/deduct6.C b/gcc/testsuite/g++.old-deja/g++.pt/deduct6.C
deleted file mode 100644 (file)
index 7fcef4e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Build don't link:
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 13 Feb 2001 <nathan@codesourcery.com>
-
-// Bug 1962. We were not dealing with qualified array types properly.
-
-#include <stdio.h>
-
-template <typename T, unsigned I> int Baz (T (&obj)[I])
-{
-  printf ("%s\n", __PRETTY_FUNCTION__);
-  return 1;
-}
-
-int main ()
-{
-  static int const ca[1] = {1};
-  static int a[1] = {1};
-  
-  Baz (ca);
-  Baz (a);
-  
-  return 0;
-}