aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/test/no_nul.cpp
blob: 83d292200bf875126f7a25f1c5b032beec9ed6dd (plain)
1
2
3
4
5
6
7
8
#include "univalue.h"

int main (int argc, char *argv[])
{
    char buf[] = "___[1,2,3]___";
    UniValue val;
    return val.read(buf + 3, 7) ? 0 : 1;
}