Fix print.C
ToString takes typename and an object pointer
This commit is contained in:
parent
ad59359390
commit
d77a3252dc
@ -11,5 +11,5 @@
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
||||
int a = 21;
|
||||
gCling->toString("a");
|
||||
// CHECK: 21
|
||||
gCling->toString("int", &a);
|
||||
// CHECK: "21"
|
||||
|
Loading…
Reference in New Issue
Block a user