Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2002-01-24-ComplexSpaceInType.c
blob5a1fb33a22bd935116167dd42971585badfe196d
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 // This caused generation of the following type name:
4 // %Array = uninitialized global [10 x %complex int]
5 //
6 // which caused problems because of the space int the complex int type
7 //
9 struct { int X, Y; } Array[10];
11 void foo(void) {}