From: Matthias Braun Date: Fri, 29 Jun 2007 15:42:27 +0000 (+0000) Subject: new fehler33.c X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=4343dda672e86b5bfcb8284cd4861732ec18d1ac;p=libfirm new fehler33.c [r14849] --- diff --git a/ir/be/test/fehler33.c b/ir/be/test/fehler33.c new file mode 100644 index 000000000..4d67d6c16 --- /dev/null +++ b/ir/be/test/fehler33.c @@ -0,0 +1,15 @@ +/* tailrec optimisation failing on struct parameters */ + +typedef struct { + int a, b, c; +} stru; + +void f(int a, const stru x) { + if(a == 100) + return; + f(a+1, x); +} + +int main() { + return 0; +}