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  }