blob: 1aa0503549d3adacba727cb411475fcc32839a4a [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.
// Test that an unresolved method call at the top level creates a compile-
// time error.
var a = b(); /*@compile-error=unspecified*/
main() {
print(a);
}