d2aae0a45f
Change-Id: I74dced985475fe48c900bfd6b6cece85f64b54cd Reviewed-on: https://dart-review.googlesource.com/36581 Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
12 lines
335 B
Dart
12 lines
335 B
Dart
// 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';
|
|
|
|
main() {
|
|
Expect.throws(() {
|
|
List<int> t = (<String>[] as Object);
|
|
});
|
|
}
|