From a60e8a8eabde116cc3da920b637bc4f6f5b8b17c Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 5 Dec 2013 22:21:11 +0100 Subject: Added tests. --- tests/syntax/good/testfile-lexer_hack-1.cpp | 2 ++ tests/syntax/good/testfile-lexer_hack-2.cpp | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 tests/syntax/good/testfile-lexer_hack-1.cpp create mode 100644 tests/syntax/good/testfile-lexer_hack-2.cpp (limited to 'tests/syntax') diff --git a/tests/syntax/good/testfile-lexer_hack-1.cpp b/tests/syntax/good/testfile-lexer_hack-1.cpp new file mode 100644 index 0000000..e21953b --- /dev/null +++ b/tests/syntax/good/testfile-lexer_hack-1.cpp @@ -0,0 +1,2 @@ +class +S { public: int a; }; diff --git a/tests/syntax/good/testfile-lexer_hack-2.cpp b/tests/syntax/good/testfile-lexer_hack-2.cpp new file mode 100644 index 0000000..c1c271a --- /dev/null +++ b/tests/syntax/good/testfile-lexer_hack-2.cpp @@ -0,0 +1,3 @@ + +class /* oups */ S { public: int a; }; + -- cgit v1.2.3