mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
eb3cd5e822
llvm-svn: 51695
14 lines
213 B
C++
14 lines
213 B
C++
|
|
// RUN: %llvmgcc -xc++ -c -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());
|
|
}
|