annotate nocompile/const_11.d @ 338:1f6cf5ccfbc9

1) updated rules to dmd-0.119 2) added __DSTRESS_ELINE__ tags
author thomask
date Mon, 21 Mar 2005 20:45:57 +0000
parents ce33adb482a7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
153
ce33adb482a7 added const tests
thomask
parents:
diff changeset
1 // $HeadURL$
ce33adb482a7 added const tests
thomask
parents:
diff changeset
2 // $Date$
ce33adb482a7 added const tests
thomask
parents:
diff changeset
3 // $URL$
ce33adb482a7 added const tests
thomask
parents:
diff changeset
4
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 153
diff changeset
5 // __DSTRESS_ELINE__ 14
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 153
diff changeset
6
153
ce33adb482a7 added const tests
thomask
parents:
diff changeset
7 module dstress.nocompile.const_11;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
8
ce33adb482a7 added const tests
thomask
parents:
diff changeset
9 struct MyStruct{
ce33adb482a7 added const tests
thomask
parents:
diff changeset
10 int i=2;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
11 }
ce33adb482a7 added const tests
thomask
parents:
diff changeset
12
ce33adb482a7 added const tests
thomask
parents:
diff changeset
13 const MyStruct s;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
14 const MyStruct* sp = &s;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
15