1// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -emit-llvm -o - %s | FileCheck %s
2// rdar://8966864
3
4@interface Foo
5-(float)myfo;
6-(void)setMyfo: (int)p;
7@end
8
9void bar(Foo *x) {
10  x.myfo++;
11}
12
13// CHECK: [[C1:%.*]] = call float bitcast (i8* (i8*, i8*, ...)* @objc_msgSend
14// CHECK: [[I:%.*]] = fadd float [[C1]], 1.000000e+00
15// CHECK: [[CONV:%.*]] = fptosi float [[I]] to i32
16// CHECK: [[T3:%.*]] = load i8*, i8** @OBJC_SELECTOR_REFERENCES_.2
17// CHECK:  call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend
18