Mercurial > projects > dstress
changeset 326:c6614ff5368b
creates a named template
Walter <walter@digitalmars.com>
2005-03-17
mail:002e01c52b74$f1da6670$0200a8c0@colossus
author | thomask |
---|---|
date | Fri, 18 Mar 2005 06:51:45 +0000 |
parents | af07ff921d82 |
children | 43ad4a47cee3 |
files | nocompile/template_09.d |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/nocompile/template_09.d Fri Mar 18 06:47:18 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ tetsuya <tetsuya_member@pathlink.com> -// @date@ 2004-13-13 -// @uri@ news:cpk4vq$1m5a$1@digitaldaemon.com -// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2546 - -module dstress.nocompile.template_09; - -template T(){ - class T{ - static void foo() { - } - } -} - -int main(){ - T!()foo; // missing *DOT* !! - return 0; -}