Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
3b583a6031dcf4a3665f6b7db3e84a2e306b1b3e
/
.
/
test
/
C++Frontend
/
2003-11-18-MemberInitializationCasting.cpp.tr
blob: 02b162ce91c8c663f705f3bc4953689c705cfb68 [
file
] [
log
] [
blame
]
Chris Lattner
3b583a6
2003-11-18 21:05:55 +0000
[
diff
] [
blame^
]
1
// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' cast '
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
}