fail42
auto fail42 =
q{--- fail42
enum e7 : i32 { e7 = 7 } // type
enum e9 { e9 = 9 } // type
void accept_e9(e9){}
void run() {
accept_e9(e7.e7);
}
--- <error>
fail42:5:15: Error: Argument 1, must have type e9, not e7
};
tests failing
functionsvariables