Sign in
fuchsia
/
third_party
/
swig
/
34ee191769e885fefa380d4e7c09c17f3d103ae6
/
.
/
Examples
/
test-suite
/
go
/
enums_runme.go
blob: ab193f74b30637137f3ccfc5457821d90db39aa8 [
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)
}
}