mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

In the case of backtracking, the cached token lexer will be the only lexer on the stack, without this the token stack will be empty and EOF won't be returned. This fixes PR7072. llvm-svn: 108124
5 lines
115 B
C++
5 lines
115 B
C++
// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
|
|
// PR7072
|
|
()( // expected-error {{expected unqualified-id}}
|
|
|