1// { dg-shouldfail "stderr_msg msg" } 2// { dg-output "object.Exception@.*: stderr_msg msg" } 3void main() 4{ 5 throw new Exception("stderr_msg msg"); 6} 7