Hi again, clang -emit-llvm-bc on the code below triggers the following assertion: implicit cast types must be equal (CGExprAgg.cpp:145). struct foo {int x}; extern const struct foo a; void f(){ struct foo b = a; } Nuno