diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-01-24 20:25:37 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-01-24 20:25:37 +0000 | 
| commit | 520a89e9d38bb1c9cc2de3f875eae3ac69f9f08a (patch) | |
| tree | 54fe8463a6692d6f8706ee98bffde249b43eed0c /unittests/Lex/LexerTest.cpp | |
| parent | ead8c8e4f12a52fe33a395d4dce984c89ab04a77 (diff) | |
Notes
Diffstat (limited to 'unittests/Lex/LexerTest.cpp')
| -rw-r--r-- | unittests/Lex/LexerTest.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/unittests/Lex/LexerTest.cpp b/unittests/Lex/LexerTest.cpp index d699a44b13fd..317e2c836335 100644 --- a/unittests/Lex/LexerTest.cpp +++ b/unittests/Lex/LexerTest.cpp @@ -476,6 +476,8 @@ TEST_F(LexerTest, GetBeginningOfTokenWithEscapedNewLine) {  TEST_F(LexerTest, AvoidPastEndOfStringDereference) {    std::vector<Token> LexedTokens = Lex("  //  \\\n");    EXPECT_TRUE(LexedTokens.empty()); +  EXPECT_TRUE(Lex("#include <\\\\").empty()); +  EXPECT_TRUE(Lex("#include <\\\\\n").empty());  }  TEST_F(LexerTest, StringizingRasString) { | 
