diff options
Diffstat (limited to 'clang/test/SemaObjC/debugger-cast-result-to-id.m')
| -rw-r--r-- | clang/test/SemaObjC/debugger-cast-result-to-id.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/debugger-cast-result-to-id.m b/clang/test/SemaObjC/debugger-cast-result-to-id.m index 00a02be2c30..ecf3e74ba79 100644 --- a/clang/test/SemaObjC/debugger-cast-result-to-id.m +++ b/clang/test/SemaObjC/debugger-cast-result-to-id.m @@ -6,6 +6,8 @@ extern __unknown_anytype test1(); void test_unknown_anytype_receiver() { (void)(int)[[test0 unknownMethod] otherUnknownMethod];; (void)(id)[[test1() unknownMethod] otherUnknownMethod]; + id x = test0; + id y = test1(); } // rdar://10988847 |

