Sign in
◑
Theme
gnu
/
gcc.git
/
8b06c58c4ae83d4007510f2d2c74ee979bc2b86a
/
.
/
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!"
);
}