annotate run/a/alias_38_B.d @ 1320:daef239f37cf

sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:59:08 +0000
parents 3fcbbd7f7873
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1171
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
1 // $HeadURL$
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
2 // $Date$
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
3 // $Author$
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
4
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.cn>
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
6 // @date@ 2006-10-03
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1171
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=396
1171
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
8 // @desc@ [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
9
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
10 module dstress.run.a.alias_38_B;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
11
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
12 version(D_InlineAsm_X86){
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
13 version = runTest;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
14 }else version(D_InlineAsm_X86_64){
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
15 version = runTest;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
16 }
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
17
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
18 version(runTest){
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
19 int main(){
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
20 int x = 1;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
21
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
22 alias x y;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
23
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
24 y++;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
25
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
26 if(y != 2){
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
27 assert(0);
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
28 }
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
29
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
30 return 0;
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
31 }
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
32 }else{
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
33 pragma(msg, "DSTRESS{XFAIL}: no inline ASM support");
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
34 static assert(0);
3fcbbd7f7873 [Issue 396] New: aliased identifier in asm blocks cause compiler segment faults
thomask
parents:
diff changeset
35 }