Debian Codegraph @

gcc/testsuite/g++.dg/ext/asm2.C

raw
1 // Bug: in a template, we forgot that this was a simple asm, and decided
2 // that %edi was a malformed operand specifier.
3
4 template <class T> class I {
5 public:
6 void f() { asm ("# mov %edi, %esi" ); }
7 };
8
9 int main () {
10 I<int> x;
11 x.f();
12 }