2022-07-15 14:33:44 +02:00

7 lines
152 B
D

// { dg-shouldfail "stderr_msg msg" }
// { dg-output "object.Exception@.*: stderr_msg msg" }
void main()
{
throw new Exception("stderr_msg msg");
}