annotate run/static_25.d @ 214:ff42f2c64363

extended static class/union member tests
author thomask
date Sun, 26 Dec 2004 22:19:33 +0000
parents
children 52c9e86b6486
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
ff42f2c64363 extended static class/union member tests
thomask
parents:
diff changeset
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2605
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 }