1 // { dg-do assemble { target i?86-*-linux* x86_64-*-linux* } }
2 // We'd use ebx with 32-bit pic code, so skip.
3 // { dg-skip-if "" { ilp32 && { ! nonpic } } { "*" } { "" } }
4 // Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
6 template<int i> int foo(int v)
8 __asm__ __volatile__("addl %1, %0" : "=a" (v) : "b" (i));