☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libphobos
/
testsuite
/
libphobos.exceptions
/
message_with_null.d
☽
☼
libphobos/testsuite/libphobos.exceptions/message_with_null.d
code
plain
raw
1
// { dg-shouldfail " world!" }
2
// { dg-output "object.Exception@.*: hello.*world!" }
3
module message_with_null;
4
5
void main()
6
{
7
throw new Exception("hello\0 world!");
8
}