blob: d4cddff3147cc2147c19dd6d91d3db7c5950e816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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());
}
|