repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initialize HasMetadata to zero.
[llvm/avr.git]
/
test
/
FrontendC++
/
2003-11-18-MemberInitializationCasting.cpp
blob
cb66ba1127dbdb1d1f649360b844ca7279a55c2e
1
// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast
2
3
struct
A
{
4
A
() :
i
(
0
) {}
5
int
getI
() {
return
i
;}
6
int
i
;
7
};
8
9
int
f
(
int
j
)
10
{
11
A a
;
12
return
j
+
a
.
getI
();
13
}