blob: 22a0478cc487608bd4a88f43766f87f3f1ea2b28 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.9
// VMOptions=--deterministic --optimization_counter_threshold=10
// Bug cid ranges (https://github.com/flutter/flutter/issues/28260).
import 'dart:typed_data';
import "package:expect/expect.dart";
foo() {
ByteBuffer a = null;
var dataMap = Map<String, dynamic>();
dataMap['data'] = a;
return (dataMap['data'] is ByteBuffer);
}
void main() {
for (int i = 0; i < 20; i++) {
Expect.equals(false, foo());
}
}