src/developer/debug/zxdb/expr/expr_parser_unittest.cc
// Tests << and >> operators. They are challenging because this can also appear in template
// expressions and are parsed as something else.
Tests << and >> operators. They are challenging because this can also appear in template
expressions and are parsed as something else.
Tests << and >> operators . They are challenging because this can also appear in template expressions and are parsed as something else .
TEST_F(ExprParserTest, Shift) {
  EXPECT_EQ(
      "BINARY_OP(>)\n"
      " BINARY_OP(<)\n"
      "  BINARY_OP(<<)\n"
      "   LITERAL(2)\n"
      "   LITERAL(2)\n"
      "  BINARY_OP(>>)\n"
      "   CAST(static_cast)\n"
      "    TYPE(Template<int>)\n"
      "    LITERAL(2)\n"
      "   LITERAL(2)\n"
      " LITERAL(2)\n",
      GetParseString("2<<2<static_cast<Template<int>>(2)>>2>2", &TestLookupName));
}
TEST_F ( ExprParserTest , Shift ) { EXPECT_EQ ( " \n " " \n " " \n " " \n " " \n " " \n " " \n " " \n " " \n " " \n " " \n " , GetParseString ( " " , & TestLookupName ) ) ; }
Tests << and >> operators.
Tests << and >> operators .
// This is parsed as (2 << 2) < (static_cast<Template<int>>(2) >> 2) > 2" with the < and > then // parsed left-to-right.