annotate nocompile/template_15.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 b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
473
8a58d34b8221 template / member function
thomask
parents:
diff changeset
1 // $HeadURL$
8a58d34b8221 template / member function
thomask
parents:
diff changeset
2 // $Date$
8a58d34b8221 template / member function
thomask
parents:
diff changeset
3 // $Author$
8a58d34b8221 template / member function
thomask
parents:
diff changeset
4
8a58d34b8221 template / member function
thomask
parents:
diff changeset
5 // @author@ Sean Kelly <sean@f4.ca>
8a58d34b8221 template / member function
thomask
parents:
diff changeset
6 // @date@ 2005-04-15
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 473
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3668
473
8a58d34b8221 template / member function
thomask
parents:
diff changeset
8
8a58d34b8221 template / member function
thomask
parents:
diff changeset
9 // __DSTRESS_ELINE__ 20
8a58d34b8221 template / member function
thomask
parents:
diff changeset
10
8a58d34b8221 template / member function
thomask
parents:
diff changeset
11 module dstress.nocompile.template_15;
8a58d34b8221 template / member function
thomask
parents:
diff changeset
12
8a58d34b8221 template / member function
thomask
parents:
diff changeset
13 class C{
8a58d34b8221 template / member function
thomask
parents:
diff changeset
14 template fn(T) {
8a58d34b8221 template / member function
thomask
parents:
diff changeset
15 void fn(){
8a58d34b8221 template / member function
thomask
parents:
diff changeset
16 }
8a58d34b8221 template / member function
thomask
parents:
diff changeset
17 }
8a58d34b8221 template / member function
thomask
parents:
diff changeset
18
8a58d34b8221 template / member function
thomask
parents:
diff changeset
19 void test(){
8a58d34b8221 template / member function
thomask
parents:
diff changeset
20 fn();
8a58d34b8221 template / member function
thomask
parents:
diff changeset
21 }
8a58d34b8221 template / member function
thomask
parents:
diff changeset
22 }