☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
cast-emit.c
☽
☼
clang/test/CodeGen/cast-emit.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
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
12
}
13