
Close https://github.com/llvm/llvm-project/issues/121066 Now we will diagnose that the import statement lacks a semicolon as expected. Note that the original "not found" diagnose message remains. I meant to remove that, but the test shows it might be more complex process (other unexpected diagnose shows up). Given the importance of the issue, I chose to not dig deeper.
5 lines
180 B
C++
5 lines
180 B
C++
// RUN: %clang_cc1 -std=c++20 -fsyntax-only %s -verify
|
|
|
|
import mod // expected-error {{expected ';' after module name}}
|
|
// expected-error@-1 {{module 'mod' not found}}
|