mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
18 lines
449 B
D
18 lines
449 B
D
/*
|
|
EXTRA_FILES: imports/a18243.d imports/b18243.d
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail18243.d(17): Error: none of the overloads of `isNaN` are callable using argument types `!()(float)`
|
|
fail_compilation/imports/b18243.d(3): Candidates are: `isNaN(T)(T x)`
|
|
fail_compilation/imports/a18243.d(5): `imports.a18243.isNaN()`
|
|
---
|
|
*/
|
|
|
|
module fail18243;
|
|
|
|
import imports.a18243;
|
|
|
|
void main()
|
|
{
|
|
bool b = isNaN(float.nan);
|
|
}
|