Debian Codegraph @

gcc/testsuite/gcc.dg/noncompile/redecl-1.c

raw
1 /* Copyright 2000 Free Software Foundation */
2 /* by Alexandre Oliva <[email protected]> */
3
4 int
5 foo ()
6 {
7 int bar; /* { dg-message "note: previous.*decl" "previous.*decl" } */
8 volatile int bar; /* { dg-error "conflicting type qualifiers" "conflicting type qualifiers" } */
9 }