1f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fblocks -o - %s | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc// rdar://6027699 4f4a2713aSLionel Sambuc 5f4a2713aSLionel Sambucvoid test(id x) { 6*0a6a1f1dSLionel Sambuc// CHECK: load i8** @OBJC_SELECTOR_REFERENCES_, !invariant.load 7f4a2713aSLionel Sambuc// CHECK: @objc_msgSend 8f4a2713aSLionel Sambuc [x foo]; 9f4a2713aSLionel Sambuc} 10