mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-05 15:42:24 +00:00
c1f76363e0
Close https://github.com/llvm/llvm-project/issues/62112 In the previous change, we'll stop parsing directly after we found reserved module names. But this may be too aggressive. This patch changes this. Note that the parsing will still be stopped if the module name is `module` or `import`.
7 lines
260 B
C++
7 lines
260 B
C++
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
// Demonstrate that we don't consider use of 'std' followed by digits to be a
|
|
// reserved identifier if it is not the first part of the path.
|
|
export module should_succeed.std0;
|