Add CHANGES entry and regression test for #676
This commit is contained in:
parent
d3383e254d
commit
d2d2bfa05f
4 changed files with 35 additions and 0 deletions
12
Examples/test-suite/go/class_case_runme.go
Normal file
12
Examples/test-suite/go/class_case_runme.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package main
|
||||
|
||||
import . "swigtests/class_case"
|
||||
|
||||
func main() {
|
||||
b2 := NewClassB2()
|
||||
// This used to fail with:
|
||||
// panic: interface conversion: interface {} is class_case.SwigcptrClassB2, not int
|
||||
if Test2(b2) != 1 {
|
||||
panic("Unexpected overload used")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue