You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
5a503e9f70
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}}
|
|
|