OSDN Git Service

2012-04-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / noncompile / redecl-1.c
1 /* Copyright 2000  Free Software Foundation */
2 /* by Alexandre Oliva  <aoliva@redhat.com> */
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 }