mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 11:10:12 +00:00
d93b834b52
Fix test syntax per new rules. llvm-svn: 36133
14 lines
213 B
Plaintext
14 lines
213 B
Plaintext
|
|
// 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());
|
|
}
|