b07ab608e9
This test now asserts that the string literal "unused" does not occur in the output in addition to checking the expected output. R=kmillikin@google.com Review-Url: https://codereview.chromium.org/2645733004 .
12 lines
262 B
Plaintext
12 lines
262 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:async" as asy;
|
|
import "dart:core" as core;
|
|
|
|
static method asyncString() → asy::Future<core::String> async {
|
|
return "foo";
|
|
}
|
|
static method main() → dynamic async {
|
|
core::String str = await self::asyncString();
|
|
}
|