aboutsummaryrefslogtreecommitdiff
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
commitd50187dc8c26053ba0b8366499a667e736197e17 (patch)
tree7e137dd57368a6254ed33be369a506d8c9b1432d
parent241d5580d2f3969d2cd2a94b4a92c762b5dc1e04 (diff)
Test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121194 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenObjCXX/property-dot-reference.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenObjCXX/property-dot-reference.mm b/test/CodeGenObjCXX/property-dot-reference.mm
index a6a243e660..6b53639f54 100644
--- a/test/CodeGenObjCXX/property-dot-reference.mm
+++ b/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; }