Do not rely on value printer to side-#include <string>.

This commit is contained in:
Axel Naumann 2018-04-30 14:40:09 +02:00 committed by sftnight
parent ef2fc34520
commit e39e1baf94

View File

@ -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]