Supplemental fix for issue 12813 - Fix examples to be valid

https://issues.dlang.org/show_bug.cgi?id=12813