Mercurial > projects > dstress
changeset 530:39f144b0814e
post DMD-0.123 review [2/n]
author | thomask |
---|---|
date | Fri, 13 May 2005 18:53:13 +0000 |
parents | 924f45bc62e9 |
children | ac20ba639b79 |
files | nocompile/array_initialization_08.d nocompile/html_empty_entity_01.html nocompile/html_empty_entity_02.html nocompile/html_empty_entity_03.html nocompile/i/interface_11.d nocompile/super_09.d run/html_entity_num.html run/interface_11.d |
diffstat | 8 files changed, 20 insertions(+), 62 deletions(-) [+] |
line wrap: on
line diff
--- a/nocompile/array_initialization_08.d Thu May 12 18:13:21 2005 +0000 +++ b/nocompile/array_initialization_08.d Fri May 13 18:53:13 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-04-17 // @uri@ news:d3sq2j$1086$1@digitaldaemon.com +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.array_initialization_08; int main(){
--- a/nocompile/html_empty_entity_01.html Thu May 12 18:13:21 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- -$HeadURL$ -$Date$ -$Author$ - -__DSTRESS_ELINE__ 11 - ---> -<html><head><title>dstress: html_empty_entity_01</title></head><body><pre><CODE> -char[] array ="ab&#;"; -</CODE></pre></body></html>
--- a/nocompile/html_empty_entity_02.html Thu May 12 18:13:21 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- -$HeadURL$ -$Date$ -$Author$ - -__DSTRESS_ELINE__ 10 ---> -<html><head><title>dstress: html_empty_entity_02</title></head><body><pre><CODE> -char[] array ="ab&#x;"; -</CODE></pre></body></html>
--- a/nocompile/html_empty_entity_03.html Thu May 12 18:13:21 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- -$HeadURL$ -$Date$ -$Author$ - -__DSTRESS_ELINE__ 10 ---> -<html><head><title>dstress: html_empty_entity_03</title></head><body><pre><CODE> -char[] array ="ab&;"; -</CODE></pre></body></html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/i/interface_11.d Fri May 13 18:53:13 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Miguel Ferreira Simões <Kobold@netcabo.pt> +// @date@ 2004-12-23 +// @uri@ news:cqe7j0$2fl3$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D/14003 + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.i.interface_11; + +interface ITest{ + static int dummy(); +}
--- a/nocompile/super_09.d Thu May 12 18:13:21 2005 +0000 +++ b/nocompile/super_09.d Fri May 13 18:53:13 2005 +0000 @@ -1,6 +1,6 @@ // $HeadURL$ // $Date$ -// $Base$ +// $Author$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> // @date@ 2004-12-10
--- a/run/html_entity_num.html Thu May 12 18:13:21 2005 +0000 +++ b/run/html_entity_num.html Fri May 13 18:53:13 2005 +0000 @@ -76,7 +76,7 @@ assert('’'=='’'); assert('“'=='“'); assert('”'=='”'); - assert(' '==' '); + assert(0xA0==' '); assert('­'=='­'); return 0; }
--- a/run/interface_11.d Thu May 12 18:13:21 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Miguel Ferreira Simões <Kobold@netcabo.pt> -// @date@ 2004-12-23 -// @uri@ news:cqe7j0$2fl3$1@digitaldaemon.com -// @url@ nntp://digitalmars.com/digitalmars.D/14003 - -module dstress.run.interface_11; - -interface ITest{ - static int dummy(); -} - -class Test : ITest{ - static int dummy(){ - return 5; - } -} - -int main(){ - ITest t = new Test(); - assert(t.dummy()==5); - return 0; -}