Sign in
◑
Theme
gnu
/
gcc
/
c8a5c1d6ed236aea3ff2012ee8947b48a303569b
/
.
/
libphobos
/
testsuite
/
libphobos.exceptions
/
message_with_null.d
blob: 64092f0c5cd4ca97fb43b117a35a5697cd4334dd [
file
]
// { dg-shouldfail " world!" }
// { dg-output "object.Exception@.*: hello.*world!" }
module
message_with_null
;
void
main
()
{
throw
new
Exception
(
"hello\0 world!"
);
}