annotate nocompile/assert_09.d @ 458:0d783e863226

static assert inside templated class/struct Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> 2005-04-20 news:3m1hj2-ni3.ln1@lnews.kuehne.cn
author thomask
date Wed, 20 Apr 2005 04:15:53 +0000
parents
children 9e0847cf535a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
458
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
1 // $HeadURL$
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
2 // $Date$
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
3 // $Author$
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
4
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
6 // @date@ 2005-04-20
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
7 // @uri@ news:3m1hj2-ni3.ln1@lnews.kuehne.cn
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
8
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
9 // __DTSRESS_ELINE__ 14
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
10
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
11 module dstress.nocompile.assert_09;
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
12
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
13 struct A (T){
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
14 static assert(0);
0d783e863226 static assert inside templated class/struct
thomask
parents:
diff changeset
15 }