add isl_polyhedron_detect_equalities test application
[platform/upstream/isl.git] / polyhedron_detect_equalities.c
1 #include "isl_set.h"
2
3 int main(int argc, char **argv)
4 {
5         struct isl_ctx *ctx = isl_ctx_alloc();
6         struct isl_basic_set *bset;
7
8         bset = isl_basic_set_read_from_file(ctx, stdin, 0, ISL_FORMAT_POLYLIB);
9         bset = isl_basic_set_detect_equalities(bset);
10         isl_basic_set_print(bset, stdout, 0, "", "", ISL_FORMAT_POLYLIB);
11         isl_basic_set_free(bset);
12         isl_ctx_free(ctx);
13
14         return 0;
15 }