comparison compile/b/bug_expression_4420_C.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents b36225ffff87
children
comparison
equal deleted inserted replaced
1585:9f62db65faf5 1586:a74f0139fc3d
11 11
12 template Template(Ts...) { 12 template Template(Ts...) {
13 alias Ts tuple; 13 alias Ts tuple;
14 } 14 }
15 15
16 static if(!is(typeof(Template!().tuple))){ 16 static if(!is(Template!().tuple)){
17 static assert(0); 17 static assert(0);
18 } 18 }