diff options
Diffstat (limited to 'test/FrontendC++/2003-08-29-ArgPassingBug.cpp')
-rw-r--r-- | test/FrontendC++/2003-08-29-ArgPassingBug.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/FrontendC++/2003-08-29-ArgPassingBug.cpp b/test/FrontendC++/2003-08-29-ArgPassingBug.cpp deleted file mode 100644 index fa7e7f8..0000000 --- a/test/FrontendC++/2003-08-29-ArgPassingBug.cpp +++ /dev/null @@ -1,13 +0,0 @@ - -// RUN: %llvmgcc -xc++ -S -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()); -} |