cgo: define idents referenced only from macros

This commit is contained in:
Ayke van Laethem
2024-11-05 08:58:40 +01:00
committed by Ron Evans
parent 8068419854
commit c4867c8743
6 changed files with 28 additions and 7 deletions
+2
View File
@@ -47,3 +47,5 @@ type (
const C.foo = 3
const C.bar = C.foo
const C.unreferenced = 4
const C.referenced = C.unreferenced