blob: 7a79c853e663400a1782b4c96ffa961e8dd34ec9 [file] [log] [blame]
// Even though these are marked "closed", Swift shouldn't trust it.
enum Alpha {
AlphaA __attribute__((swift_name("a"))),
AlphaB __attribute__((swift_name("b"))),
AlphaC __attribute__((swift_name("c"))),
AlphaD __attribute__((swift_name("d"))),
AlphaE __attribute__((swift_name("e")))
} __attribute__((enum_extensibility(closed)));
enum Coin {
CoinHeads,
CoinTails
} __attribute__((enum_extensibility(closed)));