Issue 11011 - Remove uncompilable example and use a documented unittest

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