Remove use of automatic adjacent string literal concatenation from phobos

This commit is contained in:
Daniel Murphy 2014-01-20 03:42:21 +11:00
parent cf5a46d716
commit a656f26e9e
26 changed files with 94 additions and 94 deletions

View file

@ -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);