Skip to content

Commit 2523fa1

Browse files
ibuclawwilzbach
authored andcommitted
Fix ARM unittest (again) in std.math.
See #4132 and the revert of it in #4592. Added a comment so that the mistake is not done for the third time in a row.
1 parent 3a8d144 commit 2523fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/math.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5878,7 +5878,7 @@ real NaN(ulong payload) @trusted pure nothrow @nogc
58785878
}
58795879
}
58805880

5881-
@safe pure nothrow @nogc unittest
5881+
@system pure nothrow @nogc unittest // not @safe because taking address of local.
58825882
{
58835883
static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
58845884
{

0 commit comments

Comments
 (0)