X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fempty.c;h=8198b644c56643fdd5a83eef6da24a17375e68a6;hb=79df37c097fe8cfb7d8e56d30b658f7ce8f6655d;hp=117b1d03c3efe8ae83912736d2dc591b75b2b716;hpb=3841faf71dcf8efa8312d0ebd9941f1e0fc08d72;p=libfirm diff --git a/testprograms/empty.c b/testprograms/empty.c index 117b1d03c..8198b644c 100644 --- a/testprograms/empty.c +++ b/testprograms/empty.c @@ -82,6 +82,9 @@ int main(int argc, char **argv) /* Now we can mature the end block as all it's predecessors are known. */ mature_block (irg->end_block); + /* verify the graph */ + irg_vrfy(irg); + printf("\nDone building the graph. Dumping it.\n"); dump_ir_block_graph (irg); @@ -89,6 +92,4 @@ int main(int argc, char **argv) printf("/ben/goetz/bin/xvcg GRAPHNAME\n"); return (0); - - }