diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-30 18:43:52 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-30 18:43:52 +0000 |
| commit | 89b660c774bda569a31ba1c67a69a3ddb9cedf5c (patch) | |
| tree | 38a01148dc535d4afd920ffbcbfae220edf1d074 /clang/test/CodeGenObjC | |
| parent | 505ddaa4dc76317435eec4bae666b30761d3d11e (diff) | |
| download | bcm5719-llvm-89b660c774bda569a31ba1c67a69a3ddb9cedf5c.tar.gz bcm5719-llvm-89b660c774bda569a31ba1c67a69a3ddb9cedf5c.zip | |
Fix a crash when ivar type is a __strong SEL. Fallout from
recent change to make SEL a builtin type (fixes radar 7425510).
llvm-svn: 90145
Diffstat (limited to 'clang/test/CodeGenObjC')
| -rw-r--r-- | clang/test/CodeGenObjC/encode-test.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/encode-test.m b/clang/test/CodeGenObjC/encode-test.m index 7aca79a8f38..db8470b6bb2 100644 --- a/clang/test/CodeGenObjC/encode-test.m +++ b/clang/test/CodeGenObjC/encode-test.m @@ -66,6 +66,7 @@ struct Innermost { @interface Test { int ivar; + __attribute__((objc_gc(weak))) SEL selector; } -(void) test3: (Test* [3] [4])b ; - (SEL**) meth : (SEL) arg : (SEL*****) arg1 : (SEL*)arg2 : (SEL**) arg3; |

