Index: tests/compiler/dart2js/kernel/empty_test.dart |
diff --git a/tests/compiler/dart2js/kernel/empty_test.dart b/tests/compiler/dart2js/kernel/empty_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f3fe00b818a958161620f591c6d7bb21ff4b0de3 |
--- /dev/null |
+++ b/tests/compiler/dart2js/kernel/empty_test.dart |
@@ -0,0 +1,9 @@ |
+import 'package:test/test.dart'; |
+ |
+import 'helper.dart' show check; |
+ |
+main() { |
+ test('compile empty function', () { |
+ return check("main() {}"); |
+ }); |
+} |