Skip to content
Snippets Groups Projects
Commit 75636e47 authored by Daniel Maier's avatar Daniel Maier
Browse files

error handling for openscop input

parent ccc1fc9d
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,10 @@ int main() {
FILE *fp = fopen("acc.openscop", "r");
if(!fp) {
std::cerr << "openscop read failed\n";
return -1;
}
scop = osl_scop_read(fp);
//osl_scop_dump(stdout, scop);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment