@Test
public void testParseOctalIntLiteral() throws Exception {

  final String shader = "#version 300 es\n"
      + "void main() {"
      + "  int x = 031;"
      + "}";
  final TranslationUnit tu = ParseHelper.parse(shader);
  assertTrue(new CheckPredicateVisitor() {
      @Override
      public void visitInitializer(Initializer initializer) {
        super.visitInitializer(initializer);
        if (initializer.getExpr() instanceof IntConstantExpr
            && ((IntConstantExpr) initializer.getExpr()).getValue().equals("031")) {
          predicateHolds();
        }
      }
    }.test(tu));
}