This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2009-08-11-VectorRetTy.cpp
blob403b59d8f99ee8d6f7b16bf5b963eead6d7a724f
1 // RUN: %llvmgxx %s -S -o /dev/null
2 // <rdar://problem/7096460>
3 typedef void (*Func) ();
4 typedef long long m64 __attribute__((__vector_size__(8), __may_alias__));
5 static inline m64 __attribute__((__always_inline__, __nodebug__)) _mm_set1_pi16() {}
6 template <class MM>
7 static void Bork() {
8 const m64 mmx_0x00ff = _mm_set1_pi16();
10 struct A {};
11 Func arr[] = {
12 Bork<A>