Index: pkg/kernel/testcases/closures/capture_closure.dart |
diff --git a/pkg/kernel/testcases/closures/capture_closure.dart b/pkg/kernel/testcases/closures/capture_closure.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cdfadf51b4b78af445b50514d8236a1b60aaffb3 |
--- /dev/null |
+++ b/pkg/kernel/testcases/closures/capture_closure.dart |
@@ -0,0 +1,9 @@ |
+// Copyright (c) 2016, 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.md file. |
+ |
+main(arguments) { |
+ f() => null; |
+ g() => f(); |
+ g(); |
+} |