X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Foo_inline_example.c;h=f2b7fd668a03ee1bdf5374eb1635a01162f122a1;hb=5c37521f4464edd75e85a32e52d5bf5225f8ede5;hp=a3c952fc707112c25f2759c22587f25b4411a46d;hpb=eec90a087dce23e21abd4f1d515b12898a0e5e38;p=libfirm diff --git a/testprograms/oo_inline_example.c b/testprograms/oo_inline_example.c index a3c952fc7..f2b7fd668 100644 --- a/testprograms/oo_inline_example.c +++ b/testprograms/oo_inline_example.c @@ -75,7 +75,7 @@ main(void) class_prima = new_type_class(new_id_from_str ("PRIMA_INLINE")); /* We need type information for pointers to the class: */ class_p_ptr = new_type_pointer (new_id_from_chars ("class_prima_ptr", 15), - class_prima); + class_prima, mode_P); /* An entity for the field (a). The entity constructor automatically adds the entity as member of the owner. */ a_e = new_entity(class_prima, new_id_from_chars ("a", 1), prim_t_int);