Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2008-08-19-cast-of-typedef.c
blobb3a4a056b5f9cc0cb26a37984030b45e10c5e6fd
1 // RUN: %clang_cc1 -std=c89 -emit-llvm -o %t %s
3 typedef short T[4];
4 struct s {
5 T f0;
6 };
8 void foo(struct s *x) {
9 bar((long) x->f0);