]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/builtins5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / builtins5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/builtins5.C b/gcc/testsuite/g++.old-deja/g++.other/builtins5.C
deleted file mode 100644 (file)
index 9a2cdaf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// Test that built-in functions aren't recognized without a prototype.
-// Origin: Roger Sayle  Mar 20, 2002
-// Copyright (C) 2002 Free Software Foundation.
-
-int
-foo ()
-{
-  return (int) ::strlen ("foo"); // ERROR - undeclared
-}
-
-int
-bar ()
-{
-  return (int) std::strlen ("bar"); // ERROR - undeclared
-}