X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fconst_ent_example.c;h=ad8801c870c35ac5fbae501604bd5b38a8d3a432;hb=65bee87011120c5b4fad28224cdc65ae11af91f3;hp=4c59d8984b29deb5f9d72785f93c42f43e7a8ca9;hpb=dddcc630819f338c3b45e2bc646233e6872d5bb6;p=libfirm diff --git a/testprograms/const_ent_example.c b/testprograms/const_ent_example.c index 4c59d8984..ad8801c87 100644 --- a/testprograms/const_ent_example.c +++ b/testprograms/const_ent_example.c @@ -78,7 +78,7 @@ int main(int argc, char **argv) gt = new_type_method(gti, 1, 0); /* 1 parameter, 0 results */ /* Compiler defined types: dispatch table and pointer to it */ diptt = new_type_class(dipti); - diptpt = new_type_pointer(diptpi, diptt); + diptpt = new_type_pointer(diptpi, diptt, mode_P); /** add structure to type graph **/ /* parameters of methods */ set_method_param_type(gt, 0, intt);