diff --git a/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/llgo.expect b/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/llgo.expect index d6020d24..03962fa5 100644 --- a/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/llgo.expect +++ b/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/llgo.expect @@ -148,117 +148,6 @@ TestStructDecl Case 3: } } -TestStructDecl Case 4: -{ - "temp.h": { - "decls": [{ - "Loc": { - "File": "temp.h" - }, - "Doc": { - "List": [] - }, - "Parent": null, - "Name": { - "Name": "A" - }, - "Type": { - "Tag": 0, - "Fields": { - "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" - }] - }] - }, - "Methods": [{ - "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": { - "Kind": 8, - "Flags": 0 - } - }, - "IsInline": false, - "IsStatic": false, - "IsConst": false, - "IsExplicit": false, - "IsConstructor": false, - "IsDestructor": false, - "IsVirtual": false, - "IsOverride": false - }] - } - }], - "includes": [], - "macros": [] - } -} - #stderr diff --git a/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/struct.go b/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/struct.go index c18eecca..d73a46bf 100644 --- a/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/struct.go +++ b/chore/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test/struct.go @@ -18,11 +18,6 @@ func TestStructDecl() { `struct A { int a, b; };`, - `struct A { - int a; - int b; - float foo(int a,double b); - };`, } test.RunTest("TestStructDecl", testCases) }