diff --git a/parser/objt_test.go b/parser/objt_test.go index 68a4337..854272a 100644 --- a/parser/objt_test.go +++ b/parser/objt_test.go @@ -9,6 +9,9 @@ func TestObjt (test *testing.T) { objt ro Basic:Obj ro that:Basic ro this:Basic +objt ro BitFields:Obj + ro that:Int:1 + ro this:Int:24 objt ro ComplexInit:Obj ro basic:Int 87 ro complex0:Bird diff --git a/tests/parser/objt/main.arf b/tests/parser/objt/main.arf index a151314..ebd909c 100644 --- a/tests/parser/objt/main.arf +++ b/tests/parser/objt/main.arf @@ -4,6 +4,10 @@ objt ro Basic:Obj ro that:Basic ro this:Basic +objt ro BitFields:Obj + ro that:Int:1 + ro this:Int:24 298 + objt ro Init:Obj ro that:String "hello world" ro this:Int 23