default_initialize_local_variable_func_t callback function added.
[libfirm] / testprograms / const_eval_example.c
index 2bbe5b5..941620c 100644 (file)
@@ -1,9 +1,9 @@
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Christian Schaefer, Goetz Lindenmaier
-**
-** testprogram
+* All rights reserved.
+*
+* Authors: Christian Schaefer, Goetz Lindenmaier
+*
+* testprogram
 */
 
 #include <stdio.h>
 # include "firm.h"
 
 /**
-***  This file constructs the ir for the following pseudo-program:
-***
-***  main() {
-***    int c, d;
-***
-***    c = 5 + 7;
-***    d = 7 + 5;
-***
-***    return (c, d);
-***  }
+*  This file constructs the ir for the following pseudo-program:
+*
+*  main() {
+*    int c, d;
+*
+*    c = 5 + 7;
+*    d = 7 + 5;
+*
+*    return (c, d);
+*  }
 **/
 
 int
@@ -53,6 +53,7 @@ main(void)
   set_method_res_type(method, 0, prim_t_int);
   set_method_res_type(method, 1, prim_t_int);
   ent = new_entity (owner, id_from_str ("main", 4), method);
+  get_entity_ld_name(ent);
 
   irg = new_ir_graph (ent, 4);