blob: 1ca6c56f5be1c6f5dfbd92bc6e845fa5d966c2a4 [file] [log] [blame]
// Copyright (c) 2012, 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
import "package:expect/expect.dart";
int returnString1() => 's'; /*@compile-error=unspecified*/
void returnNull() => null;
void returnString2() => 's'; /*@compile-error=unspecified*/
main() {
returnString1();
returnNull();
returnString2();
}