2 * Copyright 2011 Leiden University. All rights reserved.
6 #include "adg_cmp_options.h"
9 int main(int argc
, char *argv
[])
12 struct options
*options
;
17 options
= options_new_with_defaults();
19 argc
= options_parse(options
, argc
, argv
, ISL_ARG_ALL
);
20 ctx
= isl_ctx_alloc_with_options(&options_args
, options
);
22 file1
= fopen(options
->adg1
, "r");
24 file2
= fopen(options
->adg2
, "r");
27 adg1
= adg_parse(ctx
, file1
);
29 adg2
= adg_parse(ctx
, file2
);
32 equal
= adg1
->is_equal(adg2
);