blob: 3c4c7a9b6c61ee391e9e1ec3adb3508914db2906 [file] [log] [blame]
// Copyright (c) 2013, 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.
import "package:expect/expect.dart";
class A {
main() {
new A(42); //# 01: static type warning, runtime error