blob: d1d5bfb33e7192a3dbd1143c15d7f0aa2f00f259 [file] [log] [blame]
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.9
int foo(int x, int y) {
var z = x + y;
return z << 4;
}
void loop(List xs) {
int _ = xs.length;
for (int i = 0; i < xs.length; i++) {}
}
main() {
foo(4, 5);
foo(6, 7);
loop(['dfg']);
}