[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / cast-emit.c
blobeeef40418330f2f11d2c22c81aa041125044d9e7
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
3 extern int f();
4 typedef union {
5 int i;
6 float f;
7 } MyUnion;
8 void unionf(MyUnion a);
9 void uniontest(float a) {
10 f((MyUnion)1.0f);
11 // CHECK: store float 1.000000e+00