9 lines
239 B
Text
9 lines
239 B
Text
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
|