blob: 288a184f2ddbef84dc1447b474242d7f39969e20 [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 An enumerated type, or enum, is used to represent a fixed number
/// of constant values.
/// enumType:
/// metadata enum id ‘{’ id [‘, ’ id]* [‘, ’] ‘}’
/// ;
/// @description Checks that it is compile-time error if enum id is missing
/// @author a.semenov@unipro.ru
enum {a, b, c}
// ^
// [analyzer] unspecified
// [cfe] unspecified
main() {
}