// This is a simple little test case to demonstrate a basic normal // abi-cafe test that includes some custom types and functions struct "Point" { x "f32" y "f32" } enum "ScaleMode" { Width Height } fn "print" { inputs { _ "Point"; } } fn "scale" { inputs { _ "Point"; factor "f32"; scalemode "ScaleMode"; } outputs { _ "Point"; } } fn "sum" { inputs { _ "&[Point; 4]"; } outputs { _ "Point"; } }