pn2adg.cc: edge_name: allocate enough space for edge name
[ppn.git] / tests / mod.cc
bloba4af61f28192d225447d12bc3a7219c6ac9372dd
1 #include <assert.h>
2 #include "testlib.h"
4 using pdg::PDG;
6 int main(int argc, char *argv[])
8 isl_ctx *ctx = isl_ctx_alloc();
9 construct_pdg("testmod");
10 PDG *pdg = get_pn(ctx, "testmod");
12 assert(pdg->dependences.size() == 6);
14 pdg->free();
15 delete pdg;
16 isl_ctx_free(ctx);
18 return 0;