1 // { dg-do run { target i?86-*-* x86_64-*-* } }
2 // { dg-options "-std=c++11 -Os" }
4 enum class X : unsigned char {
9 __attribute__((noinline,noclone))
10 foo(unsigned &out, unsigned a, X b)
12 out = static_cast<unsigned>(b);
17 unsigned deadbeef = 0xDEADBEEF;
18 asm volatile ("" : "+d" (deadbeef), "+c" (deadbeef));