mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 23:41:50 +00:00
4789392a5b
BUG=http://dartbug.com/15599 R=johnniwinther@google.com Review URL: https://codereview.chromium.org//113283008 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31659 260f80e4-7a28-3924-810f-c04153c831b5
16 lines
503 B
Dart
16 lines
503 B
Dart
// Copyright (c) 2013, 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.
|
|
|
|
/// Test that two MirrorsUsed annotations can be merged with out crashing
|
|
/// dart2js.
|
|
|
|
@MirrorsUsed(symbols: const ['foo'])
|
|
@MirrorsUsed(symbols: const ['bar'])
|
|
import 'dart:mirrors';
|
|
|
|
main() {
|
|
// Do nothing, just make sure that merging the annotations doesn't crash
|
|
// dart2js.
|
|
}
|