+ *qstr = '\0';
+ for (i = 0; i<100; i++)
+ strcat(qstr, "@and 1 ");
+ strcat(qstr, "1");
+
+ rpn_query = yaz_pqf_parse (parser, odr, qstr);
+ YAZ_CHECK(rpn_query);
+
+ ret = z_RPNQuery(odr, &rpn_query, 0, 0);
+ YAZ_CHECK(ret);
+
+ yaz_pqf_destroy(parser);
+ odr_destroy(odr);
+}
+
+/** \brief build a circular referenced query */
+void test2(void)