Mercurial > projects > dstress
annotate run/template_01.d @ 1:3414705c41ac
removed CVS header
author | thomask |
---|---|
date | Sun, 26 Sep 2004 12:06:09 +0000 |
parents | 3269e4627918 |
children | a33ad7189d21 |
rev | line source |
---|---|
0 | 1 |
2 // @author@ Daniel Horn <hellcatv@hotmail.com> | |
3 // @date@ 2004-05-01 | |
4 // @uri@ news://c6uoje$14a1$1@digitaldaemon.com | |
5 | |
6 template T(int size){ | |
7 int vec[size]; | |
8 } | |
9 | |
10 int main(){ | |
11 int a = T!(4>1?4:1).vec[0]; | |
12 int b = T!(4==1?1:(1==1?4:(4>1?1:4))).vec[0]; | |
13 return 0; | |
14 } |