X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fbuiltins8.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fbuiltins8.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4eaa56ef26288b2083af60ad12031c3207b75f56;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/builtins8.C b/gcc/testsuite/g++.old-deja/g++.other/builtins8.C deleted file mode 100644 index 4eaa56ef..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/builtins8.C +++ /dev/null @@ -1,24 +0,0 @@ -// Test that built-in functions are recognized with a prototype. -// Origin: Roger Sayle Mar 20, 2002 -// Copyright (C) 2002 Free Software Foundation. -// -// Special g++ Options: -O2 - - -extern "C" void link_error (void); - -namespace std { -typedef __SIZE_TYPE__ size_t; -extern "C" size_t strlen (const char*); -} - -using namespace std; - -int -main () -{ - if (strlen ("foo") != 3) - link_error (); - return 0; -} -