2783cca57d
Change-Id: I1e4915624b609aafa9392fc651f5935bf658a71b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/244184 Reviewed-by: Sigmund Cherem <sigmund@google.com> Auto-Submit: Joshua Litt <joshualitt@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
17 lines
394 B
Dart
17 lines
394 B
Dart
// Copyright (c) 2022, 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.
|
|
|
|
int totalCases = 1;
|
|
|
|
int runCases() {
|
|
int cases = 0;
|
|
const foos = [1, 2, 3];
|
|
for (final foo in foos) {
|
|
if (cases == 0) cases++;
|
|
print(foo);
|
|
}
|
|
|
|
return cases;
|
|
}
|