New testcase

llvm-svn: 8218
This commit is contained in:
Chris Lattner 2003-08-29 16:00:19 +00:00
parent 3136208448
commit 27b4febc65
1 changed files with 13 additions and 0 deletions

View File

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