repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
asm2.C
blob
6cec382c8ba7a76df77ebcef7772562c0f08ae3e
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
}