changeset 1095:67d6d7538065

[Issue 285] Struct method null pointer assert has line number of "0" Jarrett Billingsley <jarrett.billingsley@gmail.com> 2006-08-12 news:bug-285-3@http.d.puremagic.com/issues/
author thomask
date Mon, 14 Aug 2006 11:37:17 +0000
parents e68662084cbe
children daa894e9fb12
files norun/s/struct_26_A.d
diffstat 1 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/norun/s/struct_26_A.d	Mon Aug 14 11:37:17 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Jarrett Billingsley <jarrett.billingsley@gmail.com>
+// @date@	2006-08-12
+// @uri@	news:bug-285-3@http.d.puremagic.com/issues/
+
+// __DSTRESS_TORTURE_BLOCK__ -release
+// __DSTRESS_ELINE__ 21
+
+module dstress.norun.s.struct_26_A;
+
+struct S{
+	void dummy(){
+	}
+}
+
+int main(){
+	S* s = null;
+	s.dummy();
+	return 0;
+}