mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:58:32 +00:00
[vm/tests] Fix using clause in vm/dart/regress_306327173_il_test.
TEST=vm/dart/regress_306327173_il_test Cq-Include-Trybots: luci.dart.try:vm-aot-linux-release-x64-try Change-Id: Id88bf718b40cd77d733de194eb3cbf73f6578415 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332422 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
This commit is contained in:
parent
0cd55a18c1
commit
437223150c
|
@ -45,10 +45,10 @@ void matchIL$deref(FlowGraph graph) {
|
|||
void main() {
|
||||
const ptrValue = 0x80000000;
|
||||
if (!isSimulator) {
|
||||
using(arena) {
|
||||
using((arena) {
|
||||
final p = arena.allocate<Pointer<Void>>(sizeOf<Pointer<Void>>());
|
||||
p.value = Pointer.fromAddress(ptrValue);
|
||||
Expect.equals(ptrValue, deref(p));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue