Allow resolving headers from a PCH even after headers+PCH were moved to another path.
[clang.git] / test / CodeGen / cast-emit.c
blob4e33fa32f7881201740a37efa3a7ca3aaa718b92
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
3 typedef union {
4 int i;
5 float f;
6 } MyUnion;
7 void unionf(MyUnion a);
8 void uniontest(float a) {
9 f((MyUnion)1.0f);
10 // CHECK: store float 1.000000e+00