annotate run/static_25.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 6e4063f99377
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
214
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
1 // $HeadURL$
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
2 // $Date$
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
3 // $Author$
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
4
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
5 // @author@ h3r3tic <foo@bar.baz>
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
6 // @date@ 2004-12-26
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
7 // @uri@ news:cqmmre$1vvo$1@digitaldaemon.com
1487
6e4063f99377 changed nntp: URLs to http: URLs
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2605
214
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
9
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
10 module dstress.run.static_25;
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
11
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
12 void foo(){
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
13 class MyClass{
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
14 static int x;
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
15 }
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
16 }
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
17
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
18 void foo(int i){
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
19 class MyClass{
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
20 static int x;
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
21 }
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
22 }
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
23
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
24 int main(){
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
25 return 0;
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
26 }