diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-10 00:21:50 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-10 00:21:50 +0000 |
| commit | 7572ac5614e189e4498ffe2b98791544cd0d66ec (patch) | |
| tree | 5198ad409eb7aae28d2df1e94bff29057df29852 /clang/test/CodeGenObjC | |
| parent | 288fbd2133d3243e4c29496d0f738540a0b0305e (diff) | |
| download | bcm5719-llvm-7572ac5614e189e4498ffe2b98791544cd0d66ec.tar.gz bcm5719-llvm-7572ac5614e189e4498ffe2b98791544cd0d66ec.zip | |
Patch to allow a getter call using property dot-syntax notation.
llvm-svn: 60816
Diffstat (limited to 'clang/test/CodeGenObjC')
| -rw-r--r-- | clang/test/CodeGenObjC/property-getter-dot-syntax.m | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/property-getter-dot-syntax.m b/clang/test/CodeGenObjC/property-getter-dot-syntax.m new file mode 100644 index 00000000000..962862b5366 --- /dev/null +++ b/clang/test/CodeGenObjC/property-getter-dot-syntax.m @@ -0,0 +1,11 @@ +// RUN: clang -fnext-runtime --emit-llvm -o %t %s + +@protocol NSObject +- (void *)description; +@end + +int main() +{ + id<NSObject> eggs; + void *eggsText= eggs.description; +} |

