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());
}