PR c++/79899
[official-gcc.git] / gcc / testsuite / g++.dg / other / error32.C
blob56d3b7aec8b1d5e8e4b32ee5fa051cceb5062269
1 // PR c++/33492
2 // { dg-options "" }
4 void foo()
6   if (throw 0) // { dg-error "could not convert .\\<throw-expression\\>. from .void. to .bool." }
7     ;