libstdc++: Fix test to use correct function

This was copied from a test for std::lcm but I forgot to change one of
the calls to use the experimental version of the function.

libstdc++-v3/ChangeLog:

	PR libstdc++/92978
	* testsuite/experimental/numeric/92978.cc: Use experimental::lcm
	not std::lcm.
This commit is contained in:
Jonathan Wakely 2020-09-02 17:20:37 +01:00
parent 0edc2c1a24
commit c71644776f

View file

@ -29,7 +29,7 @@ test01()
static_assert( std::experimental::gcd(120U, -10) == 10,
"mixed signed/unsigned" );
static_assert( std::lcm(-42, 21U) == 42U );
static_assert( std::experimental::lcm(-42, 21U) == 42U );
}
void