blob: fc19ec0b70def25d4ce6ba10a4b95228f14e7653 [file] [log] [blame]
// Copyright (c) 2017, 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
/*Debugger:stepOver*/
void main() {
print(/*bc:1*/ foo() ? bar() : /*bc:2*/ baz());
print(/*bc:4*/ ! /*bc:3*/ foo() ? /*bc:5*/ bar() : baz());
}
bool foo() {
return false;
}
String bar() {
return 'bar';
}
String baz() {
return 'baz';
}