Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Aligned data in -byte unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsaka committed Jan 6, 2015
1 parent 90426b1 commit cdaab25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/atomic.d
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ version( unittest )
long value2;
}

shared DoubleValue a;
align(16) shared DoubleValue a;
atomicStore(a, DoubleValue(1,2));
assert(a.value1 == 1 && a.value2 ==2);

Expand Down

0 comments on commit cdaab25

Please sign in to comment.