summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/builtins9.C
blob: 2933866fc3b0c0507a2a74cf737cf5fe3fc8a161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do run  }
// Test that inline redeclarations of builtins are emitted.
// Origin: Roger Sayle  Mar 28, 2002
// Copyright (C) 2002 Free Software Foundation.

namespace std {
   inline int fabs (void) { return 0; }
}


int main ()
{
   return std::fabs ();
}