forked from OSchip/llvm-project
parent
3136208448
commit
27b4febc65
|
@ -0,0 +1,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());
|
||||
}
|
Loading…
Reference in New Issue