repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
[llvm/avr.git]
/
test
/
FrontendC++
/
2003-08-29-ArgPassingBug.cpp
blob
d4cddff3147cc2147c19dd6d91d3db7c5950e816
1
2
// RUN: %llvmgcc -xc++ -c -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
}