1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
13 lines
213 B
C
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
|
|
}
|
|
|