Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/setConfig
/
.
/
tests
/
lean
/
unboxStruct.lean
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