665c58aa1a
Closes #41602 Change-Id: I29b8880e3fdb769b2acdf2c82a9ced038d7b0d94 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149287 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
13 lines
355 B
Plaintext
13 lines
355 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:async" as asy;
|
|
|
|
static method returnFutureOfVoid() → asy::Future<void>* async {}
|
|
static method returnVoid() → void {}
|
|
static method returnVoidAsync() → void async {}
|
|
static method main() → dynamic async {
|
|
await self::returnVoid();
|
|
await self::returnFutureOfVoid();
|
|
await self::returnVoidAsync();
|
|
}
|