blob: c70d9fabe88caab7906198837cd837ec09b040fb [file] [log] [blame]
johnniwinther@google.com8522acc2014-05-27 08:29:27 +00001// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5// Test that a type variable is not in scope for metadata declared on the type
6// declaration.
7
8@deprecated
9typedef Foo
Jacob Richman88eb5572017-03-21 17:29:56 -070010<deprecated> // //# 01: ok
Jacob Richman14531fa2017-03-23 12:40:21 -070011 ();
johnniwinther@google.com8522acc2014-05-27 08:29:27 +000012
13main() {
14 Foo f = null;
15}