Chromium Code Reviews| Index: pkg/fasta/test/rasta/constant_get_and_invoke.dart |
| diff --git a/pkg/fasta/test/rasta/constant_get_and_invoke.dart b/pkg/fasta/test/rasta/constant_get_and_invoke.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3720069b405d6021a356730790e7a3f3aac1ce6d |
| --- /dev/null |
| +++ b/pkg/fasta/test/rasta/constant_get_and_invoke.dart |
| @@ -0,0 +1,9 @@ |
| +// Copyright (c) 2016, 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.md file. |
| + |
| +const c = 1; |
| +main() { |
| + c; |
| + c(); |
| +} |