brintos

brintos / llvm-project-archived public Read only

0
0
Text · 229 B · eeef404 Raw
14 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s2 3extern int f();4typedef union {5  int    i;6  float  f;7} MyUnion;8void unionf(MyUnion a);9void uniontest(float a) {10  f((MyUnion)1.0f);11// CHECK: store float 1.000000e+0012}13 14