diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-11 17:37:42 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-11 17:37:42 +0800 |
| commit | 6a7b083f322f4ac47e58cbf9d4d5fd4d1f6fecd0 (patch) | |
| tree | f363c502f0e2b9cda2f12928049275a433db6ad4 /backend/unittests/MIR/MILexerTest.cpp | |
| parent | adcf8c9b1bd1b47e00bf859693112cea1f7e8c9f (diff) | |
| download | rcc-project-6a7b083f322f4ac47e58cbf9d4d5fd4d1f6fecd0.tar.gz rcc-project-6a7b083f322f4ac47e58cbf9d4d5fd4d1f6fecd0.tar.xz | |
[MIR] Accept fixed-baseline LLVM syntax
Diffstat (limited to 'backend/unittests/MIR/MILexerTest.cpp')
| -rw-r--r-- | backend/unittests/MIR/MILexerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/unittests/MIR/MILexerTest.cpp b/backend/unittests/MIR/MILexerTest.cpp index a130eb0..5ebd2ca 100644 --- a/backend/unittests/MIR/MILexerTest.cpp +++ b/backend/unittests/MIR/MILexerTest.cpp @@ -392,7 +392,7 @@ void testRangesAndClassifiers(TestContext &Context) { static_cast<void>(Invalid.next()); const std::string Formatted = rcc::formatTextDiagnostic(Invalid.diagnostics().front(), Invalid.source()); - Context.expect(Formatted.starts_with("body.mir:2:3: error[mir-lexer]: unexpected character '#'"), + Context.expect(Formatted.starts_with("error: body.mir:2:3: unexpected character '#'"), "formatted MI diagnostics must report stable input line and column"); rcc::mir::MILexer Original("move.mir", R"("owned\20value")"); |
