blob: 45a661db5ba6af03d45770273a1bf61ceb983ee7 [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:3*/ foo() ? /*bc:4*/ bar() : baz());
}
bool foo() {
return false;
}
String bar() {
return 'bar';
}
String baz() {
return 'baz';
}