Found by @5c4la4
enum MHD_Result {
MHD_NO = 0,
MHD_YES = 1
}__attribute__((enum_extensibility(closed)));
enum MHD_Result f() {
return MHD_NO;
}
Here the __attribute__((enum_extensibility(closed))) is dumped into an incorrect location. This is a bug in LLVM AST dumper.