This commit is contained in:
Vassil Vassilev 2014-02-17 23:30:06 +01:00 committed by sftnight
parent d65a3ff810
commit 980a1813cf

View File

@ -21,7 +21,7 @@ V // CHECK: (cling::StoredValueRef) boxes [(int) 1]
// Returns must put the result in the StoredValueRef.
bool cond = true;
gCling->evaluate("if (cond) return \"true\"; else return 0;", V);
V // CHECK: (cling::StoredValueRef) boxes [(const char [5]) true]
V // CHECK: (cling::StoredValueRef) boxes [(const char [5]) "true"]
gCling->evaluate("cond = false; if (cond) return \"true\"; else return 0;", V);
V // CHECK: (cling::StoredValueRef) boxes [(int) 0]