blob: 64d7e034e8d9f5e2e67c2a0c98fb696cd8d20962 [file] [log] [blame]
// Copyright (c) 2018, 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.
// This test checks that the annotation on a formal parameter of a typedef is
// resolved to the top-level constant, and not to the parameter itself in case
// of a name match.
const int app = 0;
typedef int F(@app int app);
main() {}