]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/builtins2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / builtins2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/builtins2.C b/gcc/testsuite/g++.old-deja/g++.other/builtins2.C
deleted file mode 100644 (file)
index 9c55b76..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Test whether this builtin minimally works in G++.
-// Origin: Kaveh Ghazi Jan 16, 2001
-// Copyright (C) 2001 Free Software Foundation.
-//
-// Special g++ Options: -O2
-
-namespace std 
-{
-  extern "C" void abort (void);
-}
-
-int main ()
-{
-  using namespace std;
-  char f[16];
-  
-  if (::__builtin_strcpy (f, "hello world") != f
-      || __builtin_memcmp (f, "hello world", sizeof ("hello world")))
-    abort ();
-  
-  return 0;
-}