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:
parent
0edc2c1a24
commit
c71644776f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue