freebsd-nq/test/CodeGen/2008-08-19-cast-of-typedef.c
2009-06-02 17:58:47 +00:00

11 lines
129 B
C

// RUN: clang-cc --emit-llvm -o %t %s
typedef short T[4];
struct s {
T f0;
};
void foo(struct s *x) {
bar((long) x->f0);
}