blob: 57e15ba44d9bfb8a8115479b3699512b40f1829c [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.
library test;
T f<T>() => null;
void test() {
assert(/*@typeArgs=bool*/ f());
assert(/*@typeArgs=bool*/ f(), /*@typeArgs=dynamic*/ f());
main() {}