commit | 6fdd57cba86bdfeae99987b001f965f69d0e6704 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Apr 17 22:12:36 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Apr 17 22:12:36 2009 +0000 |
tree | 575504545645ccd2e0c56b4daa06ae2211a054da | |
parent | 2581fc3fa98e369cce35684a576ec59cb7cabe83 [diff] [blame] |
fix a crash compiling code with its own definition of objc_assign_weak. rdar://6800430 llvm-svn: 69392
diff --git a/clang/test/CodeGenObjC/runtime-fns.m b/clang/test/CodeGenObjC/runtime-fns.m index c53b0a3..0d85707 100644 --- a/clang/test/CodeGenObjC/runtime-fns.m +++ b/clang/test/CodeGenObjC/runtime-fns.m
@@ -25,4 +25,9 @@ id objc_msgSend(int x) { return 0; } + +// rdar://6800430 +void objc_assign_weak(id value, id *location) { +} + #endif