[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:
Tess Strickland 2023-10-27 09:25:42 +00:00 committed by Commit Queue
parent 0cd55a18c1
commit 437223150c

View file

@ -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));
}
});
}
}