annotate tests/mini/compile_bug26.d @ 978:6a32d2e18175

Fix a latent bug in the asm code. I think that technically, using "*m0" instead of "*0" allows LLVM to pick between using the same memory as output 0 and using a new memory location. (So far I haven't been able to construct a testcase that actually breaks because of this, though)
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 18 Feb 2009 03:38:12 +0100
parents fc098100ecc7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
52
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
1 module bug26;
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
2
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
3 extern int i;
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
4
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
5 void main()
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
6 {
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
7 int j = i;
0c77619e803b [svn r56] Initial support for TypeInfo.
lindquist
parents:
diff changeset
8 }