frankpfenning / C0

C0 Language
4 stars 0 forks source link

Type name definition after function definition with the same name #37

Closed frankpfenning closed 11 years ago

frankpfenning commented 11 years ago

//test error int foo();

typedef int foo;

int main(){ return 0; }

leads to a non-exhaustive match exception.

frankpfenning commented 11 years ago

Fixed in revision r197 and added regression test fp-basic/typenames2.c0.