1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o /dev/null 2*f4a2713aSLionel Sambuc // <rdar://problem/7096460> 3*f4a2713aSLionel Sambuc typedef void (*Func) (); 4*f4a2713aSLionel Sambuc typedef long long m64 __attribute__((__vector_size__(8), __may_alias__)); _mm_set1_pi16()5*f4a2713aSLionel Sambucstatic inline m64 __attribute__((__always_inline__, __nodebug__)) _mm_set1_pi16() {} 6*f4a2713aSLionel Sambuc template <class MM> Bork()7*f4a2713aSLionel Sambucstatic void Bork() { 8*f4a2713aSLionel Sambuc const m64 mmx_0x00ff = _mm_set1_pi16(); 9*f4a2713aSLionel Sambuc } 10*f4a2713aSLionel Sambuc struct A {}; 11*f4a2713aSLionel Sambuc Func arr[] = { 12*f4a2713aSLionel Sambuc Bork<A> 13*f4a2713aSLionel Sambuc }; 14