#stdout
TestDoc 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":	[]
	}
}

TestDoc Case 2:
{
	"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":	[]
	}
}

TestDoc Case 3:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/// doc"
						}]
				},
				"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":	[]
	}
}

TestDoc Case 4:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/** doc */"
						}]
				},
				"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":	[]
	}
}

TestDoc Case 5:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/*! doc */"
						}]
				},
				"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":	[]
	}
}

TestDoc Case 6:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/// doc 1"
						}, {
							"Text":	"/// doc 2"
						}]
				},
				"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":	[]
	}
}

TestDoc Case 7:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/*! doc 1 */"
						}, {
							"Text":	"/*! doc 2 */"
						}]
				},
				"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":	[]
	}
}

TestDoc Case 8:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/** doc 1 */"
						}, {
							"Text":	"/** doc 1 */"
						}]
				},
				"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":	[]
	}
}

TestDoc Case 9:
{
	"temp.h":	{
		"decls":	[{
				"Loc":	{
					"File":	"temp.h"
				},
				"Doc":	{
					"List":	[{
							"Text":	"/**"
						}, {
							"Text":	" * doc 1"
						}, {
							"Text":	" * doc 2"
						}, {
							"Text":	" */"
						}]
				},
				"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":	[]
	}
}


#stderr

#exit 0
