// ---------------------------------------------------------------------- // // abs_long.cc - Do we have abs(long) in ? // // History: // 12-Aug-1999 WEB Initial draft // 15-Feb-2000 WEB Update to correspond to revised USING macro // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include int main() { USING(std::abs) return ( 0L == abs( 0L) && 1L == abs( 1L) && 2L == abs(-2L) ) ? 0 : 1 ; } // main()