repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When removing a function from the function set and adding it to deferred, we
[llvm.git]
/
test
/
FrontendC++
/
2003-08-29-ArgPassingBug.cpp
blob
fa7e7f86b21a40a7ac80045f29f6797c82e07367
1
2
// RUN: %llvmgcc -xc++ -S -o /dev/null %s |& not grep WARNING
3
4
struct
iterator
{
5
iterator
();
6
iterator
(
const
iterator
&
I
);
7
};
8
9
iterator
foo
(
const
iterator
&
I
) {
return
I
; }
10
11
void
test
() {
12
foo
(
iterator
());
13
}