Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/go/preproc_runme.go
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

22 lines
237 B
Go

package main
import "./preproc"
func main() {
if preproc.GetEndif() != 1 {
panic(0)
}
if preproc.GetDefine() != 1 {
panic(0)
}
if preproc.GetDefined() != 1 {
panic(0)
}
if 2*preproc.One != preproc.Two {
panic(0)
}
}