YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/cast-emit.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

13 lines
213 B
C

// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
typedef union {
int i;
float f;
} MyUnion;
void unionf(MyUnion a);
void uniontest(float a) {
f((MyUnion)1.0f);
// CHECK: store float 1.000000e+00
}