AST printing callbacks: pass isl_ast_print_options
[isl.git] / polyhedron_detect_equalities.c
blob567acec71dfba4078b4180ab4d3653a2b8a52221
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #include <isl/set.h>
12 int main(int argc, char **argv)
14 struct isl_ctx *ctx = isl_ctx_alloc();
15 struct isl_basic_set *bset;
17 bset = isl_basic_set_read_from_file(ctx, stdin);
18 bset = isl_basic_set_detect_equalities(bset);
19 isl_basic_set_print(bset, stdout, 0, "", "", ISL_FORMAT_POLYLIB);
20 isl_basic_set_free(bset);
21 isl_ctx_free(ctx);
23 return 0;