]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/decl-2.c
re PR c++/14267 (ICE on invalid, cast to lval related)
[gcc.git] / gcc / testsuite / gcc.dg / decl-2.c
1 /* PR c/7411 */
2 /* Contributed by Christian Ehrhardt */
3 /* { dg-do compile } */
4
5 void foo(void)
6 {
7 char c; /* { dg-error "previous declaration" } */
8 int i;
9 int c = i; /* { dg-error "conflicting types" } */
10 }
This page took 0.038218 seconds and 5 git commands to generate.