summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/conversion/void1.C
blob: 120fc0e1daaff3c7e72153266ee648a66f421990 (plain)
1
2
3
4
5
// PR c++/27422
// { dg-do compile }

void foo(void i);      // { dg-error "incomplete type|invalid use" }
void bar() { foo(0); }