blob: 3696aa167edf6306c25758504999c078d23f229d [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) {