mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
13 lines
285 B
Dart
13 lines
285 B
Dart
// Copyright (c) 2017, 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.
|
|
|
|
var x = () {
|
|
var y = 42;
|
|
return y;
|
|
};
|
|
|
|
main() {
|
|
print(x());
|
|
}
|