mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Remove use of automatic adjacent string literal concatenation from phobos
This commit is contained in:
parent
cf5a46d716
commit
a656f26e9e
26 changed files with 94 additions and 94 deletions
|
@ -410,11 +410,11 @@ unittest
|
|||
"delegate void() " ~
|
||||
(EncloseSafe ? "@safe " : "") ~
|
||||
(EnclosePure ? "pure " : "") ~
|
||||
"{ ""enforce(true, { "
|
||||
"{ enforce(true, { " ~
|
||||
"int n; " ~
|
||||
(BodySafe ? "" : "auto p = &n + 10; " ) ~ // unsafe code
|
||||
(BodyPure ? "" : "static int g; g = 10; ") ~ // impure code
|
||||
"}); "
|
||||
"}); " ~
|
||||
"}";
|
||||
enum expect =
|
||||
(BodySafe || !EncloseSafe) && (!EnclosePure || BodyPure);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue