1e6c488ef5
R=ahe@google.com, paulberry@google.com, sigmund@google.com Bug: https://github.com/dart-lang/sdk/issues/30284 Change-Id: I9354e114eb2d603543a964030482af7ac9198760 Reviewed-on: https://dart-review.googlesource.com/12802 Reviewed-by: Peter von der Ahé <ahe@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
34 lines
446 B
Dart
34 lines
446 B
Dart
// 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.
|
|
|
|
@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() {}
|