Sign in
ara-mdk
/
platform
/
external
/
llvm
/
ef476fdce2d194b5b335c15cd8a545ceeeb633b1
/
.
/
test
/
C++Frontend
/
2003-08-29-ArgPassingBug.cpp.tr
blob: ddb0dcec8c4603c64d44bff612e1a0946fa94eff [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -xc++ -c -o /dev/null %s 2>&1 | not grep WARNING
struct
iterator
{
iterator
();
iterator
(
const
iterator
&
I
);
};
iterator foo
(
const
iterator
&
I
)
{
return
I
;
}
void
test
()
{
foo
(
iterator
());
}