Mercurial > projects > dstress
changeset 21:9fd186cd378a
moved and deleted bad tests
author | thomask |
---|---|
date | Fri, 08 Oct 2004 21:15:52 +0000 |
parents | 4d41d450901e |
children | e59280dc85bd |
files | compile/enum_05.d compile/template_struct_02.d nocompile/alias_06.d nocompile/html_defect_01.html nocompile/struct_09.d nocompile/template_struct_02.d run/enum_05.d |
diffstat | 7 files changed, 18 insertions(+), 50 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/enum_05.d Fri Oct 08 21:15:52 2004 +0000 @@ -0,0 +1,6 @@ + +extern enum MyEnum; + +int main(){ + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/template_struct_02.d Fri Oct 08 21:15:52 2004 +0000 @@ -0,0 +1,12 @@ +// @author@ <hellcatv@hotmail.com> +// @date@ 2004-05-06 + +struct vec(int size){ + float data[size]; + vec!(1) first(){ + vec!(1) t; + t.data[0]=data[0]; + return t; + } +} +
--- a/nocompile/alias_06.d Fri Oct 08 21:14:44 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ - -alias int myint; - -void test(int x){ -} - -int main(){ - myint a; - test(a); - return 0; -}
--- a/nocompile/html_defect_01.html Fri Oct 08 21:14:44 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -<html> - <head></head> - <body> - <pre><CODE> -int main(){ - return 0; -} - </CODE></pre> - </body> -</html>
--- a/nocompile/struct_09.d Fri Oct 08 21:14:44 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ - -struct MyStruct{ -private: - int m_data; -} - -int test(){ - MyStruct m; - m.m_data = 3; - return 0; -}
--- a/nocompile/template_struct_02.d Fri Oct 08 21:14:44 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -// @author@ <hellcatv@hotmail.com> -// @date@ 2004-05-06 - -struct vec(int size){ - float data[size]; - vec!(1) first(){ - vec!(1) t; - t.data[0]=data[0]; - return t; - } -} -