repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
cast-emit.c
blob
eeef40418330f2f11d2c22c81aa041125044d9e7
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.0
f
);
11
// CHECK: store float 1.000000e+00
12
}
13