summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/conversion/err-recover1.C
blob: 97237893dc77c8e1919f17416a21226fe9951b1f (plain)
1
2
3
4
5
6
7
8
// PR c++/42219

void foo(const void);		// { dg-error "incomplete|const" }

void bar()
{
  void (*pf)() = foo;		// { dg-error "cannot convert" }
}