8sa1-gcc/gcc/testsuite/g++.old-deja/g++.other/inline2.C
Jason Merrill 431f67e296 update
From-SVN: r34509
2000-06-12 19:52:58 -04:00

12 lines
225 B
C

// Origin: Martin Reinecke <martin@MPA-Garching.MPG.DE>
// Build don't link:
// Special g++ Options: -O2 -Winline
#include <cmath>
int main()
{
double foo = 4.5;
if (std::abs (0.5-std::abs (foo-0.5)) < 1e-10) foo+=1;
}