mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
parent
eb083c06d9
commit
34cf3a9503
2 changed files with 5 additions and 1 deletions
|
@ -568,7 +568,7 @@ private bool pragmaMsgSemantic(Loc loc, Scope* sc, Expressions* args)
|
|||
else
|
||||
{
|
||||
buf.writestring("\n");
|
||||
fprintf(stderr, buf.extractChars);
|
||||
fprintf(stderr, "%s", buf.extractChars);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ print dstring
|
|||
foo_str
|
||||
foo_wstr
|
||||
foo_dstr
|
||||
X%nY
|
||||
---
|
||||
*/
|
||||
|
||||
|
@ -33,4 +34,7 @@ void main()
|
|||
pragma(msg, a);
|
||||
pragma(msg, b);
|
||||
pragma(msg, c);
|
||||
|
||||
// https://github.com/dlang/dmd/issues/20894
|
||||
pragma(msg, "X%nY");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue