#include <stdio.h>
enum xxx {
x1,
x2,
x3
};
enum xxx getsome();
int main(int argc, char *argv[]) {
enum xxx val = getsome();
return 0;
}
enum xxx getsome()
{
return x2;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmVudW0geHh4IHsKCXgxLAoJeDIsCgl4Mwp9OwplbnVtIHh4eCBnZXRzb21lKCk7CiAKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkgewogIGVudW0geHh4IHZhbCA9IGdldHNvbWUoKTsKICBwcmludGYoIiVkIiwgKGludCl2YWwpOwogIHJldHVybiAwOwp9CiAKZW51bSB4eHggZ2V0c29tZSgpCnsKCXJldHVybiB4MjsKfQog