2 // { dg-do compile { target c++11 } }
4 extern unsigned char __TBB_ReverseByte(unsigned char src);
5 extern unsigned char *reversed;
6 template<typename T> T __TBB_ReverseBits(T src)
8 unsigned char *original = (unsigned char *) &src;
9 for( int i = sizeof(T)-1; i--; )
10 reversed[i] = __TBB_ReverseByte( original[sizeof(T)-i-1] );