#stdout
TestFuncDecl Case 1:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[]
				},
				"Parent":	null,
				"Name":	{
					"Name":	"foo"
				},
				"Type":	{
					"Params":	{
						"List":	[]
					},
					"Ret":	{
						"Kind":	0,
						"Flags":	0
					}
				},
				"IsInline":	false,
				"IsStatic":	false,
				"IsConst":	false,
				"IsExplicit":	false,
				"IsConstructor":	false,
				"IsDestructor":	false,
				"IsVirtual":	false,
				"IsOverride":	false
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestFuncDecl Case 2:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[]
				},
				"Parent":	null,
				"Name":	{
					"Name":	"foo"
				},
				"Type":	{
					"Params":	{
						"List":	[{
								"Type":	{
									"Kind":	6,
									"Flags":	0
								},
								"Doc":	{
									"List":	[]
								},
								"Comment":	{
									"List":	[]
								},
								"Names":	[{
										"Name":	"a"
									}]
							}]
					},
					"Ret":	{
						"Kind":	0,
						"Flags":	0
					}
				},
				"IsInline":	false,
				"IsStatic":	false,
				"IsConst":	false,
				"IsExplicit":	false,
				"IsConstructor":	false,
				"IsDestructor":	false,
				"IsVirtual":	false,
				"IsOverride":	false
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestFuncDecl Case 3:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[]
				},
				"Parent":	null,
				"Name":	{
					"Name":	"foo"
				},
				"Type":	{
					"Params":	{
						"List":	[{
								"Type":	{
								},
								"Doc":	null,
								"Comment":	null,
								"Names":	[]
							}, {
								"Type":	{
									"Kind":	6,
									"Flags":	0
								},
								"Doc":	{
									"List":	[]
								},
								"Comment":	{
									"List":	[]
								},
								"Names":	[{
										"Name":	"a"
									}]
							}]
					},
					"Ret":	{
						"Kind":	0,
						"Flags":	0
					}
				},
				"IsInline":	false,
				"IsStatic":	false,
				"IsConst":	false,
				"IsExplicit":	false,
				"IsConstructor":	false,
				"IsDestructor":	false,
				"IsVirtual":	false,
				"IsOverride":	false
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestFuncDecl Case 4:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[]
				},
				"Parent":	null,
				"Name":	{
					"Name":	"foo"
				},
				"Type":	{
					"Params":	{
						"List":	[{
								"Type":	{
									"Kind":	6,
									"Flags":	0
								},
								"Doc":	{
									"List":	[]
								},
								"Comment":	{
									"List":	[]
								},
								"Names":	[{
										"Name":	"a"
									}]
							}, {
								"Type":	{
									"Kind":	8,
									"Flags":	16
								},
								"Doc":	{
									"List":	[]
								},
								"Comment":	{
									"List":	[]
								},
								"Names":	[{
										"Name":	"b"
									}]
							}]
					},
					"Ret":	{
						"X":	{
							"Kind":	8,
							"Flags":	0
						}
					}
				},
				"IsInline":	false,
				"IsStatic":	false,
				"IsConst":	false,
				"IsExplicit":	false,
				"IsConstructor":	false,
				"IsDestructor":	false,
				"IsVirtual":	false,
				"IsOverride":	false
			}],
		"includes":	[],
		"macros":	[]
	}
}

TestFuncDecl Case 5:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[]
				},
				"Parent":	null,
				"Name":	{
					"Name":	"add"
				},
				"Type":	{
					"Params":	{
						"List":	[{
								"Type":	{
									"Kind":	6,
									"Flags":	0
								},
								"Doc":	{
									"List":	[]
								},
								"Comment":	{
									"List":	[]
								},
								"Names":	[{
										"Name":	"a"
									}]
							}, {
								"Type":	{
									"Kind":	6,
									"Flags":	0
								},
								"Doc":	{
									"List":	[]
								},
								"Comment":	{
									"List":	[]
								},
								"Names":	[{
										"Name":	"b"
									}]
							}]
					},
					"Ret":	{
						"Kind":	6,
						"Flags":	0
					}
				},
				"IsInline":	true,
				"IsStatic":	true,
				"IsConst":	false,
				"IsExplicit":	false,
				"IsConstructor":	false,
				"IsDestructor":	false,
				"IsVirtual":	false,
				"IsOverride":	false
			}],
		"includes":	[],
		"macros":	[]
	}
}


#stderr

#exit 0
