blob: 1df4533c6839cfe7aa4f942ec40fbb85e1072b15 [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 It is a compile-time error to reference a local function
* before its declaration.
* @description Checks that it is a compile-error to reference a local function
* before its declaration.
* @compile-error
* @author kaigorodov
* @note renamed from 04_Local_Function_Declaration_A02_t02
*/
main() {
func();
}