repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[analyzer] Use the new registration mechanism on the non-path-sensitive-checkers:
[clang.git]
/
test
/
CodeGen
/
cast-emit.c
blob
4e33fa32f7881201740a37efa3a7ca3aaa718b92
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3
typedef
union
{
4
int
i
;
5
float
f
;
6
}
MyUnion
;
7
void
unionf
(
MyUnion a
);
8
void
uniontest
(
float
a
) {
9
f
((
MyUnion
)
1.0
f
);
10
// CHECK: store float 1.000000e+00
11
}
12