Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / g++.dg / ext / asm2.C
blob6cec382c8ba7a76df77ebcef7772562c0f08ae3e
1 // Bug: in a template, we forgot that this was a simple asm, and decided
2 // that %edi was a malformed operand specifier.
4 template <class T> class  I {
5 public:
6  void f() { asm ("# mov %edi, %esi" ); }
7 };
9 int main () {
10   I<int> x;
11   x.f();