diff --git a/std/exception.d b/std/exception.d index 3e95b22b1f7..2f781e03132 100644 --- a/std/exception.d +++ b/std/exception.d @@ -1847,7 +1847,7 @@ expression. } version(unittest) package -@property void assertCTFEable(alias dg)() +void assertCTFEable(alias dg)() { static assert({ cast(void) dg(); return true; }()); cast(void) dg();