From: Matthias Braun Date: Tue, 7 Aug 2007 13:48:25 +0000 (+0000) Subject: fehler64 (emit a 0 if none of the addressmode things is set) X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9722c0d808e2bf78654a4b2e771043afadb8359d;p=libfirm fehler64 (emit a 0 if none of the addressmode things is set) [r15493] --- diff --git a/ir/be/test/fehler64.c b/ir/be/test/fehler64.c new file mode 100644 index 000000000..b512a0dba --- /dev/null +++ b/ir/be/test/fehler64.c @@ -0,0 +1,11 @@ +static void crashme(void) +{ + * ( int * ) 0 = 0x12345678; +} + +int main(int argc) +{ + if(argc > 1) + crashme(); + return 0; +}