blob: 2126753ddb6907c46b98737b1acfe4f35940546c [file] [log] [blame]
* Copyright (c) 2015, 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.
* @assertion
* metadata:
* (‘@’ qualified (‘.’ identifier)? (arguments)?)*
* ;
* @description Verify several kinds of valid metadata declarations.
* Metadata refers to constants and classes imported from library without prefix.
* @author
import 'syntax_lib1.dart';
class Test1{}
const _b10 = const B<int>.b(10);
@A() @B() @_b10 @E.c
class Test2{}
class Test3{}
@B() @X @E.b
class Test4{}
const _ba = const B<String>.b('aaa');
class Test5{}
main() {