mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-06 13:32:49 +00:00
58905d251b
common LexStringLiteral function. In doing so, some consistency problems have been ironed out (e.g. where the first token in the string literal was lexed with macro expansion, but subsequent ones were not) and also an erroneous diagnostic has been corrected. LexStringLiteral is complemented by a FinishLexStringLiteral function which can be used in the situation where the first token of the string literal has already been lexed. llvm-svn: 168266
6 lines
180 B
C
6 lines
180 B
C
// RUN: %clang_cc1 -verify %s
|
|
|
|
// These must be the last lines in this test.
|
|
// expected-error@+1{{expected string literal}} expected-error@+1 2{{expected}}
|
|
int i = __has_warning(
|