mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
0cada76a06
Bug: https://github.com/dart-lang/sdk/issues/38834 Change-Id: Iff1247186271643ea557a0aaec1e6b8438676c59 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121706 Auto-Submit: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
11 lines
421 B
Dart
Executable file
11 lines
421 B
Dart
Executable file
#!/usr/bin/env dart
|
|
// Copyright (c) 2019, 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.
|
|
|
|
// Test program for Dart AOT (dart2native, dartaotruntime).
|
|
|
|
void main(List<String> args) async {
|
|
final String who = !args.isEmpty ? args[0] : '世界';
|
|
print('Hello, ${who}.');
|
|
}
|