Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/noncompile/incomplete-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Origin: <steven@gcc.gnu.org> Make sure we do not ICE when the type in the function argument list is incomplete (Bug 10602). */ /* { dg-options "-w" } */ int g95_type_for_mode (enum machine_mode); int g95_type_for_mode (enum machine_mode mode) /* { dg-error "incomplete type" } */ { return 0; }