github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/cgo/testdata/const.go (about) 1 package main 2 3 /* 4 #define foo 3 5 #define bar foo 6 */ 7 import "C" 8 9 const ( 10 Foo = C.foo 11 Bar = C.bar 12 )