1 // PR c++/33492 2 // { dg-options "" } 3 foo()4 void foo() 5 { 6 if (throw 0) // { dg-error "could not convert .\\<throw-expression\\>. from .void. to .bool." } 7 ; 8 } 9