Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: test/codegen/script.dart

Issue 1263583005: implement exports, fixes #141 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/script.dart
diff --git a/test/codegen/script.dart b/test/codegen/script.dart
new file mode 100755
index 0000000000000000000000000000000000000000..709ed67937540f17581e65a70b20e0fe4f2f6240
--- /dev/null
+++ b/test/codegen/script.dart
@@ -0,0 +1,6 @@
+#!/usr/bin/env dart
+void main(List<String> args) {
+ String name = args.join(' ');
+ if (name == '') name = 'world';
+ print('hello $name');
+}

Powered by Google App Engine
This is Rietveld 408576698