Files
sdk/pkg/kernel/testcases/strong-mode/async_function.baseline.txt
T
Asger Feldthaus b07ab608e9 Run tree shaking in strong-mode baseline tests.
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 .
2017-01-23 10:38:53 +01:00

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();
}