1// RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-darwin -o - | FileCheck %s 2 3typedef __attribute__((__ext_vector_type__(2))) float vector_float2; 4 5@interface GPAgent2D 6@property (nonatomic, assign) vector_float2 position; 7@end 8 9@interface GPGoal @end 10 11@implementation GPGoal 12-(void)getForce { 13 GPAgent2D* targetAgent; 14 (vector_float2){targetAgent.position.x, targetAgent.position.y}; 15} 16@end 17 18// CHECK: [[CL:%.*]] = alloca <2 x float>, align 8 19// CHECK: store <2 x float> [[VECINIT:%.*]], ptr [[CL]] 20// CHECK: [[FOURTEEN:%.*]] = load <2 x float>, ptr [[CL]] 21