aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/go/virtual_derivation_runme.go
blob: 21135308ca0b83fbb2ba7405ee5e76d5b834e957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package main

import . "swigtests/virtual_derivation"

// very innocent example

func main() {
	b := NewB(3)
	if b.Get_a() != b.Get_b() {
		panic("something is really wrong")
	}
}