blob: 825578b590d24725b8353618a638e26370655dcc [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.
// VMOptions=--no-enable_asserts --enable_type_checks
// Ensure that enabling of type checks does not automatically enable asserts.
main() {
try {
int i = "String";
throw "FAIL";
} on TypeError catch (e) {