~mna/snow

snow/pkg/codegen/testdata/use_extern_as_struct.snow.notyet -rw-r--r-- 154 bytes
424066c5Martin Angers doc: v0.0.5 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
fn main() {
  var e = extern(import: "fmt", symbol: "invalid", pkg: "ok")
  println(e)
}

@extern(import: "fmt", symbol: "Println")
fn println(e: extern)