blob: 09178b0afa85c5f23bb887bc295e2300540e1f36 [file] [log] [blame]
// Copyright (c) 2015, 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
import "package:expect/expect.dart";
import 'dart:typed_data';
use(s) => s;
main() {
// In dart2js ByteData should have an interceptor so that it doesn't end up
// as an unknown JS object.
// This test is just to make sure that dart2js doesn't crash.
use(new ByteData(1).toString());