Mercurial > projects > dang
annotate tests/code/sarray_4.d @ 208:41ccd50e7cbc
Added missing tests
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 12 Aug 2008 18:21:06 +0200 |
parents | 0e10479623f6 |
children |
rev | line source |
---|---|
161
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
1 |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
2 int main() |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
3 { |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
4 int[10] a; |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
5 int[10] b; |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
6 b[] = a; |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
7 } |
0e10479623f6
Changed the tests for static arrays a little
Anders Halager <halager@gmail.com>
parents:
diff
changeset
|
8 |