blob: df57b1d66d26746bb57db5241980e44ff6c82ec5 [file] [edit]
structure AddrSpace where
index : UInt32
@[extern "foo"]
opaque foo (addrSpace : AddrSpace) : IO PUnit
set_option trace.compiler.ir.result true in
-- should accept and pass an unboxed `uint32`
def test2 : AddrSpace → IO PUnit := foo