annotate nocompile/bug_mtype_507_B.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
parents d3a3e0c251d8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
240
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
1 // $HeadURL$
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
2 // $Date$
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
3 // $Author$
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
4
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
243
7c8580d800ab updated meta data for mtype_507
thomask
parents: 240
diff changeset
6 // @date@ 2005-01-22
7c8580d800ab updated meta data for mtype_507
thomask
parents: 240
diff changeset
7 // @uri@ news:csvvet$2g4$1@digitaldaemon.com
1384
d3a3e0c251d8 nntp: -> http:
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2741
240
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
9
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 243
diff changeset
10 // __DSTRESS_ELINE__ 21
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 243
diff changeset
11
240
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
12 module dstress.nocompile.bug_mtype_507_B;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
13
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
14 struct Struct{
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
15 int x;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
16 }
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
17
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
18 int main(){
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
19 int i;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
20 Struct s;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
21 if(s==i){
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
22 return -1;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
23 }
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
24 return 0;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
25 }