Debian Codegraph @

libphobos/testsuite/libphobos.exceptions/message_with_null.d

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 }