Fix print.C

ToString takes typename and an object pointer
This commit is contained in:
Yuka Takahashi 2018-10-10 20:53:44 +02:00 committed by sftnight
parent ad59359390
commit d77a3252dc

View File

@ -11,5 +11,5 @@
#include "cling/Interpreter/Interpreter.h"
int a = 21;
gCling->toString("a");
// CHECK: 21
gCling->toString("int", &a);
// CHECK: "21"