blob: 42eda919b9c4c68943b911dbdf8db759a463009f [file] [log] [blame] [edit]
// 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.
library test;
T f<T>() => throw '';
var x = throw f();
void g() {
var x = throw f();
}
main() {}