Closed
Description
The following compiles fine, but uncommenting any of the currently-commented extern
functions makes the compiler ICE.
struct Foo { x: int }
extern {
// fn foo(1: ());
// fn bar((): int);
// fn baz(Foo { x }: int);
fn qux((x,y): ());
}
fn main() {}
For foo
the ICE message is
error: internal compiler error: node_id_to_type: no type for node `expr 1 (id=12)`
and the others are similar.