blob: b2c3ba185b5c114c87e1790e6bd2e147e91039c5 [file] [log] [blame]
Bill Wendlingc1aa4ed2009-08-12 01:47:51 +00001// RUN: %llvmgxx %s -c -o /dev/null
2// <rdar://problem/7096460>
3typedef void (*Func) ();
4typedef long long m64 __attribute__((__vector_size__(8), __may_alias__));
5static inline m64 __attribute__((__always_inline__, __nodebug__)) _mm_set1_pi16() {}
6template <class MM>
7static void Bork() {
8 const m64 mmx_0x00ff = _mm_set1_pi16();
9}
10struct A {};
11Func arr[] = {
12 Bork<A>
13};