Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
ba4733d901b1c2b994f66707657342b8c81c92bc
/
.
/
test
/
C++Frontend
/
2003-11-18-MemberInitializationCasting.cpp.tr
blob: 1d607a2ac95469f46e1d334d54157262e1f045dc [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | not grep ' cast '
struct
A
{
A
()
:
i
(
0
)
{}
int
getI
()
{
return
i
;}
int
i
;
};
int
f
(
int
j
)
{
A a
;
return
j
+
a
.
getI
();
}