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