/* 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
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);