...

Text file src/cuelang.org/go/internal/core/runtime/testdata/no_top_extern.txtar

Documentation: cuelang.org/go/internal/core/runtime/testdata

     1// TODO: We do not generate an error here as it allows files to be processed
     2// faster. But maybe it is more user-friendly to report the error.
     3-- cue.mod/modules.cue --
     4-- in.cue --
     5// Missing @extern("test")
     6@dummy()
     7
     8package foo
     9
    10
    11Foo: _ @extern(file.xx, abi=c, sig="func(int)int")
    12
    13-- extern/out --
    14-- out/extern/config --
    15{
    16	Foo: _
    17}
    18-- out/extern --
    19{
    20	Foo: _
    21}

View as plain text