summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-12-07 22:55:51 +0000
committerJohn McCall <rjmccall@apple.com>2010-12-07 22:55:51 +0000
commit26c935f564b4ffafac011bd749f749b2792f7f86 (patch)
tree67a859303b4fa031563a6b96a6852ff4d7202950
parenta162ebafdb05733e11ebf75d48ccd12454c9aeb9 (diff)
downloadbcm5719-llvm-26c935f564b4ffafac011bd749f749b2792f7f86.tar.gz
bcm5719-llvm-26c935f564b4ffafac011bd749f749b2792f7f86.zip
Test case.
llvm-svn: 121194
-rw-r--r--clang/test/CodeGenObjCXX/property-dot-reference.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjCXX/property-dot-reference.mm b/clang/test/CodeGenObjCXX/property-dot-reference.mm
index a6a243e660c..6b53639f54c 100644
--- a/clang/test/CodeGenObjCXX/property-dot-reference.mm
+++ b/clang/test/CodeGenObjCXX/property-dot-reference.mm
@@ -57,3 +57,6 @@ void test2() {
// CHECK: call double bitcast
// CHECK: call i32 bitcast
// CHECK: call double bitcast
+
+// PR8751
+int test3(Test2 *obj) { return obj.myProperty; }
OpenPOWER on IntegriCloud