blob: 58c60ec462179a0e80847ae8f5f0484f9f4bd307 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -pedantic -verify %s
/* This is a test of the various code modification hints that are
provided as part of warning or extension diagnostics. Eventually,
we would like to actually try to perform the suggested
modifications and compile the result to test that no warnings
remain. */
struct s; // expected-note{{previous use is here}}
union s *s1; // expected-error{{use of 's' with tag type that does not match previous declaration}}