OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-07-17 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
asm2.C
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
}