changeset 1457:8befc38baf6d

[Issue 803] incorrect error message and location for repeated aliases Thomas K?hne <thomas-dloop@kuehne.cn> 2007-01-06 http://d.puremagic.com/issues/show_bug.cgi?id=803
author thomask
date Thu, 05 Apr 2007 10:19:08 +0000
parents fe473839afc2
children 03a2f3633971
files nocompile/a/alias_41_A.d nocompile/a/alias_41_B.d
diffstat 2 files changed, 36 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/alias_41_A.d	Thu Apr 05 10:19:08 2007 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kühne <thomas-dloop@kuehne.cn>
+// @date@	2007-01-06
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=803
+// @desc@	[Issue 803] incorrect error message and location for repeated aliases
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.a.alias_41_A;
+
+struct Foo{
+}
+
+alias Foo Bar;
+alias Foo Bar;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/alias_41_B.d	Thu Apr 05 10:19:08 2007 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kühne <thomas-dloop@kuehne.cn>
+// @date@	2007-01-06
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=803
+// @desc@	[Issue 803] incorrect error message and location for repeated aliases
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.a.alias_41_B;
+
+struct Foo{
+}
+
+alias Foo Bar;
+alias Foo Bar;