Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / lookup / builtin2.C
blobbe0a6f65d6c0ea3cfa63eb4310e4d1e0c299e5be
1 /* { dg-do compile } */
3 /* PR c++/21087 */
5 /* We used to overload the template function with the built-in
6    declaration, instead of replacing it as we should, and then barf at
7    the using decl because of a test that none of the overload set
8    members were anticipated built-ins.  */
10 extern "C" signed int toupper(signed int __c) throw();
11 namespace std
13   template< typename a > a toupper(a,int){}
14   using ::toupper;
17 int f () {
18   std::toupper((signed int)'a');