"Fossies" - the Fresh Open Source Software Archive

Member "swig-4.1.1/Examples/test-suite/go/abstract_access_runme.go" (30 Nov 2022, 136 Bytes) of package /linux/misc/swig-4.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Go source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "abstract_access_runme.go": 4.0.0_vs_4.0.1.

    1 package main
    2 
    3 import "swigtests/abstract_access"
    4 
    5 func main() {
    6     d := abstract_access.NewD()
    7     if d.Do_x() != 1 {
    8         panic(d.Do_x())
    9     }
   10 }