annotate nocompile/const_02.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 1f6cf5ccfbc9
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
ce33adb482a7 added const tests
thomask
parents:
diff changeset
5 // altering a constant
ce33adb482a7 added const tests
thomask
parents:
diff changeset
6
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 153
diff changeset
7 // __DSTRESS_ELINE__ 14
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 153
diff changeset
8
153
ce33adb482a7 added const tests
thomask
parents:
diff changeset
9 module dstress.nocompile.const_02;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
10
ce33adb482a7 added const tests
thomask
parents:
diff changeset
11 const int i = 9;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
12
ce33adb482a7 added const tests
thomask
parents:
diff changeset
13 int main(){
ce33adb482a7 added const tests
thomask
parents:
diff changeset
14 i++;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
15 return 0;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
16 }