Files
sdk/pkg/front_end/testcases/arithmetic.dart.direct.transformed.expect
T
Samir Jindel 4289a9967b Check expected outputs of transforms.
Change-Id: I56ff4d4391b7a22d709dc60b696646895928e34c
Reviewed-on: https://dart-review.googlesource.com/46100
Reviewed-by: Peter von der Ahé <ahe@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
2018-03-15 12:11:13 +00:00

19 lines
409 B
Plaintext

library;
import self as self;
import "dart:core" as core;
static method foo(core::int x, core::int y) → core::int {
dynamic z = x.+(y);
return z.<<(4);
}
static method loop(core::List<dynamic> xs) → void {
core::int _ = xs.length;
for (core::int i = 0; i.<(xs.length); i = i.+(1)) {
}
}
static method main() → dynamic {
self::foo(4, 5);
self::foo(6, 7);
self::loop(<dynamic>["dfg"]);
}