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