[ClavaWeaver] Updates C++ API test 'Rebuild'
@@ -17,10 +17,15 @@ aspectdef RebuildTest
//println("Poping");
Clava.popAst();
//println("Rebuilding");
+
+ // Rebuild two times, to stress test rebuild
+ Clava.rebuild();
Clava.rebuild();
+
println("Original code:\n" + Clava.getProgram().code);
+
/*
// Insert error in the code to parse
select function{"main"}.body end
