blob: 89e12654e87a56fc24cf3ab6d01243d02aa2b09c [file] [log] [blame]
* Copyright (c) 2011, 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.
* @assertion When assertions are not enabled, execution of an assertion
* immediately completes normally
* @description Checks that the assert statement has no effect if assertions are
* disabled.
* @author vasya
import '../../../Utils/expect.dart';
bool check() {"assert expression should not be evaluated");
return false;
main() {
if (!assertStatementsEnabled) {