示例#1
0
 @Test
 public void testCpp14() {
   Log.enableFailQuick(false);
   Translationunit_eofContext translationUnit =
       Parsers.parse(
           CPP14Lexer::new,
           CPP14Parser::new,
           CPP14Parser::translationunit_eof,
           new File("src/test/resources/sizes.cpp"),
           new SimpleErrorListener());
   assertEquals(0, ParseTrees.getErrors(translationUnit).size());
 }