| 35 | using namespace kqir; |
| 36 | |
| 37 | static auto Parse(const std::string& in) { return sql::ParseToIR(peg::string_input(in, "test")); } |
| 38 | |
| 39 | TEST(IRPassTest, Simple) { |
| 40 | auto ir = *Parse("select a from b where not c = 1 or d hastag \"x\" and 2 <= e order by e asc limit 0, 10"); |