We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b3f9e commit 04e8710Copy full SHA for 04e8710
1 file changed
tests/parse_many_test.cpp
@@ -101,6 +101,12 @@ bool validate(const char *dirname) {
101
printf("size of file in bytes: %zu \n", json.size());
102
everything_fine = false;
103
}
104
+ // issue 570, we just want to check for segfault
105
+ simdjson::document::parser parser;
106
+ for (const simdjson::document &doc : parser.load_many(fullpath)) {
107
+ auto iter = simdjson::document::iterator(doc);
108
+ //do something
109
+ }
110
free(fullpath);
111
112
0 commit comments