Add run test for li_std_vector_ptr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9d466dd408
commit
0d80b4011d
1 changed files with 12 additions and 0 deletions
12
Examples/test-suite/go/li_std_vector_ptr_runme.go
Normal file
12
Examples/test-suite/go/li_std_vector_ptr_runme.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package main
|
||||
|
||||
import . "./li_std_vector_ptr"
|
||||
|
||||
func main() {
|
||||
ip1 := MakeIntPtr(11)
|
||||
ip2 := MakeIntPtr(22)
|
||||
vi := NewIntPtrVector()
|
||||
vi.Add(ip1)
|
||||
vi.Add(ip2)
|
||||
DisplayVector(vi)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue