1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
3 // CHECK: v17@0:8{vector<float, float, float>=}16
4 // CHECK: {vector<float, float, float>=}
7 template <typename T1, typename T2, typename T3> struct vector {
12 typedef vector< float, float, float > vector3f;
19 @property (assign, nonatomic) vector3f position;
23 @interface MyOpenGLView
28 @property vector3f position;
31 @implementation MyOpenGLView
37 vector3f VF3(1.0, 1.0, 1.0);
43 class Int3 { int x, y, z; };
45 // Enforce @encoding for member pointers.
47 - (void) foo: (int (Int3::*)) member;
49 @implementation MemPtr
50 - (void) foo: (int (Int3::*)) member {
55 typedef float HGVec4f __attribute__ ((vector_size(16)));
57 @interface RedBalloonHGXFormWrapper {
58 HGVec4f m_Transform[4];
62 @implementation RedBalloonHGXFormWrapper