diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-25 23:07:42 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-25 23:07:42 +0000 |
| commit | 04b258cc9eeb3b94d37e40f068f56e894318397b (patch) | |
| tree | f4ea93c048aba56a76e1140bb0ac7acab17c6007 /clang/test/CodeGenObjC | |
| parent | 5bc5cbe2a24d53c8bbbcce1a72f156957af45fde (diff) | |
| download | bcm5719-llvm-04b258cc9eeb3b94d37e40f068f56e894318397b.tar.gz bcm5719-llvm-04b258cc9eeb3b94d37e40f068f56e894318397b.zip | |
Allow user re-definition of SEL as well as accessing its fields.
This fixes pr5611.
llvm-svn: 89895
Diffstat (limited to 'clang/test/CodeGenObjC')
| -rw-r--r-- | clang/test/CodeGenObjC/sel-as-builtin-type.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/sel-as-builtin-type.m b/clang/test/CodeGenObjC/sel-as-builtin-type.m index cb129a139f3..c65a5b28054 100644 --- a/clang/test/CodeGenObjC/sel-as-builtin-type.m +++ b/clang/test/CodeGenObjC/sel-as-builtin-type.m @@ -17,3 +17,7 @@ typedef const struct objc_selector { } @end +int func(SEL s1, SEL s2) +{ + return s1->sel_id == s2->sel_id; +} |

