blob: ee7490b8db2d5f4cfe714cf63356c09df3b6c29e [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
@a
@A(1)
library test;
const Object a = const Object();
class A {
const A(int value);
}
@a
@A(2)
class C {}
@a
@A(2)
typedef void F1();
@a
@A(3)
typedef F2 = void Function();
@a
@A(3)
int f1, f2;
@a
@A(4)
void main() {}