Added bitfields to object section test case

This commit is contained in:
Sasha Koshka 2022-08-24 18:23:11 -04:00
parent fb43f96acc
commit 05aa0e6177
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,9 @@ func TestObjt (test *testing.T) {
objt ro Basic:Obj objt ro Basic:Obj
ro that:Basic ro that:Basic
ro this:Basic ro this:Basic
objt ro BitFields:Obj
ro that:Int:1
ro this:Int:24
objt ro ComplexInit:Obj objt ro ComplexInit:Obj
ro basic:Int 87 ro basic:Int 87
ro complex0:Bird ro complex0:Bird

View File

@ -4,6 +4,10 @@ objt ro Basic:Obj
ro that:Basic ro that:Basic
ro this:Basic ro this:Basic
objt ro BitFields:Obj
ro that:Int:1
ro this:Int:24 298
objt ro Init:Obj objt ro Init:Obj
ro that:String "hello world" ro that:String "hello world"
ro this:Int 23 ro this:Int 23