When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / FrontendC++ / 2003-08-29-ArgPassingBug.cpp
blobfa7e7f86b21a40a7ac80045f29f6797c82e07367
2 // RUN: %llvmgcc -xc++ -S -o /dev/null %s |& not grep WARNING
4 struct iterator {
5 iterator();
6 iterator(const iterator &I);
7 };
9 iterator foo(const iterator &I) { return I; }
11 void test() {
12 foo(iterator());