#stdout
TestEnumDecl Case 1:
{
	"temp.h":	{
		"_Type":	"File",
		"decls":	[{
				"_Type":	"EnumTypeDecl",
				"Loc":	{
					"_Type":	"Location",
					"File":	"temp.h"
				},
				"Doc":	null,
				"Parent":	null,
				"Name":	null,
				"Type":	{
					"_Type":	"EnumType",
					"Items":	[{
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"a"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"0"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"b"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"1"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"c"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"2"
							}
						}]
				}
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestEnumDecl Case 2:
{
	"temp.h":	{
		"_Type":	"File",
		"decls":	[{
				"_Type":	"EnumTypeDecl",
				"Loc":	{
					"_Type":	"Location",
					"File":	"temp.h"
				},
				"Doc":	null,
				"Parent":	null,
				"Name":	{
					"_Type":	"Ident",
					"Name":	"Foo"
				},
				"Type":	{
					"_Type":	"EnumType",
					"Items":	[{
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"a"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"0"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"b"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"1"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"c"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"2"
							}
						}]
				}
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestEnumDecl Case 3:
{
	"temp.h":	{
		"_Type":	"File",
		"decls":	[{
				"_Type":	"EnumTypeDecl",
				"Loc":	{
					"_Type":	"Location",
					"File":	"temp.h"
				},
				"Doc":	null,
				"Parent":	null,
				"Name":	{
					"_Type":	"Ident",
					"Name":	"Foo"
				},
				"Type":	{
					"_Type":	"EnumType",
					"Items":	[{
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"a"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"1"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"b"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"2"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"c"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"4"
							}
						}]
				}
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestEnumDecl Case 4:
{
	"temp.h":	{
		"_Type":	"File",
		"decls":	[{
				"_Type":	"EnumTypeDecl",
				"Loc":	{
					"_Type":	"Location",
					"File":	"temp.h"
				},
				"Doc":	null,
				"Parent":	null,
				"Name":	{
					"_Type":	"Ident",
					"Name":	"Foo"
				},
				"Type":	{
					"_Type":	"EnumType",
					"Items":	[{
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"a"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"1"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"b"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"2"
							}
						}, {
							"_Type":	"EnumItem",
							"Name":	{
								"_Type":	"Ident",
								"Name":	"c"
							},
							"Value":	{
								"_Type":	"BasicLit",
								"Kind":	0,
								"Value":	"3"
							}
						}]
				}
			}],
		"includes":	[],
		"macros":	[]
	}
}


#stderr

#exit 0
