573a7c543f
Change-Id: Id02e72dac031224c1c37cdde5a20fb19c0ebf6b5 Reviewed-on: https://dart-review.googlesource.com/c/84404 Auto-Submit: Peter von der Ahé <ahe@google.com> Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
19 lines
409 B
Plaintext
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"]);
|
|
}
|