1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/C++Frontend/2003-08-29-ArgPassingBug.cpp.tr
John Criswell 9adadc67ec Changed TestRunner test class so that it replaces %llvmgcc and %llvmgxx
instead of %gcc and %gxx.

llvm-svn: 8792
2003-09-30 19:56:36 +00:00

14 lines
217 B
Plaintext

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