aboutsummaryrefslogtreecommitdiff
path: root/libphobos/testsuite/libphobos.exceptions/stderr_msg.d
blob: bd14cea3c59cd15c5241d674d9f3122087b66e7c (plain)
1
2
3
4
5
6
// { dg-shouldfail "stderr_msg msg" }
// { dg-output "object.Exception@.*: stderr_msg msg" }
void main()
{
    throw new Exception("stderr_msg msg");
}