mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Escape backticks in error messages (#20893)
This commit is contained in:
parent
e082ce247a
commit
0e5c41f799
4 changed files with 39 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
TEST_OUTPUT:
|
||||
---
|
||||
fail_compilation/cppmangle.d(11): Error: expected valid identifier for C++ namespace but got ``
|
||||
fail_compilation/cppmangle.d(15): Error: expected valid identifier for C++ namespace but got `0num`
|
||||
fail_compilation/cppmangle.d(11): Error: expected valid identifier for C++ namespace but got `""`
|
||||
fail_compilation/cppmangle.d(15): Error: expected valid identifier for C++ namespace but got `"0num"`
|
||||
fail_compilation/cppmangle.d(19): Error: compile time string constant (or sequence) expected, not `2`
|
||||
fail_compilation/cppmangle.d(23): Error: expected valid identifier for C++ namespace but got `invalid@namespace`
|
||||
fail_compilation/cppmangle.d(23): Error: expected valid identifier for C++ namespace but got `"invalid@namespace"`
|
||||
---
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue