annotate addon/bug_20050903_Y.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 35c50493907e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
649
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
1 module addon.bug_20050903_Y;
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
2
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
3 template DataStreamability(){
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
4 const int isStreamable = true;
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
5
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
6 void read(int st, int val){
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
7 st >>= val;
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
8 }
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
9 }
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
10
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
11 struct Vector(T){
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
12 static if (DataStreamability!().isStreamable){
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
13 }
35c50493907e Stewart Gordon <Stewart_member@pathlink.com>
thomask
parents:
diff changeset
14 }