blob: b434f5b77938b4650ca2653e027dd3b108429575 [file] [log] [blame]
// RUN: clang %s -verify -fsyntax-only
struct simple { int i; };
void f(void) {
struct simple s[1];
s->i = 1;
}
typedef int x;
struct S {
int x;
x z;
};
void g(void) {
struct S s[1];
s->x = 1;
s->z = 2;
}