call-diag-2.c
913 Bytes
- 
re PR c/35210 (gcc incorrectly allows calling function returning "const void") · 3ce62965PR c/35210 * c-typeck.c (build_function_call): Check for calling a function with qualified void return types. Call require_complete_type when generating a trap. testsuite: * gcc.dg/call-diag-2.c: New test. From-SVN: r146324 Joseph Myers committed
