blob: a45305813ba0d8d674f2b11dad21f87c4a578a57 [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.
* @assertion Compile-time errors are errors that preclude execution.
* A compile-time error must be reported by a Dart compiler before the
* erroneous code is executed.
* @description Checks that erroneous code is not executed if there is
* a compile-time error. Test error in imported library
* @compile-error
* @author
import '../../Utils/expect.dart';
import 'compile_error_lib.dart' as lib;
main() {
lib.f();"Erroneous code must not be executed");