blob: ddb0dcec8c4603c64d44bff612e1a0946fa94eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: %llvmgcc -xc++ -c -o /dev/null %s 2>&1 | not grep WARNING
struct iterator {
iterator();
iterator(const iterator &I);
};
iterator foo(const iterator &I) { return I; }
void test() {
foo(iterator());
}
|