aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/error32.C
blob: 35c64c4eab9954ebfaf88394032a81c7c122de96 (plain)
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\\>. to .bool." }
    ;
}