mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-07 22:27:13 +00:00
848fa212e8
lexer is not a paste operator, it is a normal token. This fixes a conformance issue shown here: http://p99.gforge.inria.fr/c99-conformance/c99-conformance-clang-2.9.html and it defines away the crash from before. llvm-svn: 133005
15 lines
177 B
C
15 lines
177 B
C
// RUN: %clang_cc1 %s -E | FileCheck %s
|
|
|
|
#define FOO bar ## baz ## 123
|
|
|
|
// CHECK: A: barbaz123
|
|
A: FOO
|
|
|
|
// PR9981
|
|
#define M1(A) A
|
|
#define M2(X) X
|
|
B: M1(M2(##))
|
|
|
|
// CHECK: B: ##
|
|
|