16 lines
126 B
Plaintext
16 lines
126 B
Plaintext
// ERROR:13:error
|
|
unit badrett;
|
|
|
|
error A {
|
|
Bad = 1,
|
|
}
|
|
|
|
error B {
|
|
Bad = 1,
|
|
}
|
|
|
|
fn bad() -> B!i32 {
|
|
return A.Bad;
|
|
}
|
|
|