Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
codegen
/
abi-repr-ext.rs
blob: 9dba1718acd8b2f03c9e82022c1f96f961dc39a2 [
file
] [
log
] [
blame
]
#![
crate_type
=
"lib"
]
#[
repr
(
i8
)]
pub
enum
Type
{
Type1
=
0
,
Type2
=
1
}
// CHECK: define{{( dso_local)?}} signext i8 @test()
#[
no_mangle
]
pub
extern
"C"
fn
test
()
->
Type
{
Type
::
Type1
}