Sign in
fuchsia
/
third_party
/
swig
/
ae709933805236a8bbf2cba82ed984d92c82ee9c
/
.
/
Examples
/
test-suite
/
go
/
enums_runme.go
blob: 7a528b3e256982268891c8190fca8a1add1fe215 [
file
] [
log
] [
blame
]
package main
import "enums"
func main() {
enums.Bar2(1)
enums.Bar3(1)
enums.Bar1(1)
if enums.GetEnumInstance() != 2 {
panic(0)
}
if enums.GetSlap() != 10 {
panic(0)
}
if enums.GetMine() != 11 {
panic(0)
}
if enums.GetThigh() != 12 {
panic(0)
}
}