// RUN: %clang_cc1 %s -verify -fsyntax-only
x; // expected-warning {{'s' is deprecated}} expected-note 2 {{'s' has been explicitly marked deprecated here}}
y; // expected-warning {{'s' is deprecated}}
u; // expected-warning {{'un' is deprecated}} expected-note 2 {{'un' has been explicitly marked deprecated here}}
z; // expected-warning {{'un' is deprecated}}
e; // expected-warning {{'E' is deprecated}} expected-note 2 {{'E' has been explicitly marked deprecated here}}
w; // expected-warning {{'E' is deprecated}}
; // expected-note {{'foo' has been explicitly marked deprecated here}}
typedef struct foo bar ; // expected-note {{'bar' has been explicitly marked deprecated here}}
bar x1; // expected-warning {{'bar' is deprecated}}
int // expected-warning {{'foo' is deprecated}}
;
typedef struct gorf T ; // expected-note {{'T' has been explicitly marked deprecated here}}
T t; // expected-warning {{'T' is deprecated}}
void