Mercurial > projects > dstress
comparison compile/i/is_17_B.d @ 1441:8888892dd50e
r7389@birke: tk | 2007-03-29 16:01:38 +0200
[Issue 966] is(H==function) fails if H is a function type
Elmar Zander <elmar@zandere.de>
2007-02-15
http://d.puremagic.com/issues/show_bug.cgi?id=966
author | thomask |
---|---|
date | Sat, 31 Mar 2007 08:26:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1440:5224177dd804 | 1441:8888892dd50e |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Elmar Zander <elmar@zandere.de> | |
6 // @date@ 2007-02-15 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=966 | |
8 // @desc@ [Issue 966] is(H==function) fails if H is a function type | |
9 | |
10 module dstress.compile.i.is_17_B; | |
11 | |
12 void foo(){ | |
13 } | |
14 | |
15 static assert(is(typeof(&foo) == function)); |