// PR c++/94067 // { dg-do compile } // { dg-options "-Wconversion" } static inline unsigned short swap (unsigned short x) { return (x >> 8) | static_cast(x << 8); }