blob: aadb1265ecdabd9e0377b44417eb21c196b6b7e0 [file] [log] [blame]
package main
import "return_const_value"
func main() {
p := return_const_value.Foo_ptrGetPtr()
if p.GetVal() != 17 {
panic("Runtime test1 failed")
}
p = return_const_value.Foo_ptrGetConstPtr()
if p.GetVal() != 17 {
panic("Runtime test2 failed")
}
}