llvm/clang/test/CodeGen/2008-08-19-cast-of-typedef.c

// RUN: %clang_cc1 -std=c89 -emit-llvm -o %t %s

typedef short T[4];
struct s {
  T f0;
};

void foo(struct s *x) {
  bar((long) x->f0);
}