]> git.proxmox.com Git - rustc.git/blob - src/test/codegen/abi-repr-ext.rs
Merge branch 'debian/experimental2' into debian/sid
[rustc.git] / src / test / codegen / abi-repr-ext.rs
1 #![crate_type="lib"]
2
3 #[repr(i8)]
4 pub enum Type {
5 Type1 = 0,
6 Type2 = 1
7 }
8
9 // CHECK: define signext i8 @test()
10 #[no_mangle]
11 pub extern "C" fn test() -> Type {
12 Type::Type1
13 }