Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
a276c603b82a11b0bf0b59f0517a69e4b63adeab
/
.
/
test
/
FrontendC++
/
2003-08-29-ArgPassingBug.cpp
blob: d4cddff3147cc2147c19dd6d91d3db7c5950e816 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -xc++ -c -o /dev/null %s |& not grep WARNING
struct
iterator
{
iterator
();
iterator
(
const
iterator
&
I
);
};
iterator
foo
(
const
iterator
&
I
)
{
return
I
;
}
void
test
()
{
foo
(
iterator
());
}