Do not rely on value printer to side-#include <string>.
This commit is contained in:
parent
ef2fc34520
commit
e39e1baf94
@ -27,6 +27,8 @@ setLang("en_US.UTF-8");
|
||||
const char* Data = (const char*) 0x01
|
||||
// CHECK: (const char *) 0x{{.+}} <invalid memory address>
|
||||
|
||||
#include <string>
|
||||
|
||||
std::string RawData("\x12""\x13");
|
||||
|
||||
cling::printValue(&RawData)[1]
|
||||
|
Loading…
Reference in New Issue
Block a user