changeset 282:81fdb31f5960

this -> var in classes and structs Stewart Gordon <smjg_1998@yahoo.com> 2005-02-08 news:cua2nm$11pg$1@digitaldaemon.com nntp://news.digitalmars.com/digitalmars.D.bugs/2888
author thomask
date Sat, 12 Feb 2005 10:25:41 +0000
parents b8b7a330468a
children 916d1cb5d890
files nocompile/this_04.d nocompile/this_05.d nocompile/this_06.d
diffstat 3 files changed, 47 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/this_04.d	Sat Feb 12 10:25:41 2005 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-02-08
+// @uri@	news:cua2nm$11pg$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2888
+
+module dstress.nocompile.this_04;
+
+struct MyStruct{
+	MyStruct* s = this;
+}
+ 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/this_05.d	Sat Feb 12 10:25:41 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-02-08
+// @uri@	news:cua2nm$11pg$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2888
+
+module dstress.nocompile.this_05;
+
+struct MyStruct{
+	int i;
+	int* p = &i; 
+}
+ 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/this_06.d	Sat Feb 12 10:25:41 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-02-08
+// @uri@	news:cua2nm$11pg$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2888
+
+module dstress.nocompile.this_06;
+
+class MyClass{
+	int i;
+	int* p = &i; 
+}
+ 
\ No newline at end of file