changeset 1598:23834ba9736a

Fixed typos in test cases. See D bug 2174.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 17:03:25 +0200
parents 8b9d4d2f925a
children d37b19f7e8bb
files complex/linking/a.d complex/linking/b.d complex/linking/c.d run/i/inline_16_C.d run/t/this_13_C.d
diffstat 5 files changed, 12 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/complex/linking/a.d	Tue Sep 09 16:53:58 2008 +0200
+++ b/complex/linking/a.d	Tue Sep 09 17:03:25 2008 +0200
@@ -7,7 +7,7 @@
 // @uri@	news:cp2vjj$1ljt$1@digitaldaemon.com
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs
 
-module dstress.complex.linking.a;
+module /*dstress.*/ complex.linking.a;
 
 struct StructA(T){
 	void set(T x) {
--- a/complex/linking/b.d	Tue Sep 09 16:53:58 2008 +0200
+++ b/complex/linking/b.d	Tue Sep 09 17:03:25 2008 +0200
@@ -7,9 +7,9 @@
 // @uri@        news:cp2vjj$1ljt$1@digitaldaemon.com
 // @url@        nntp://news.digitalmars.com/digitalmars.D.bugs
 
-module dstress.complex.linking.b;
+module /*dstress.*/ complex.linking.b;
 
-import dstress.complex.linking.a;
+import /*dstress.*/ complex.linking.a;
 
 void functB() {
 	StructA!(int)* x;
--- a/complex/linking/c.d	Tue Sep 09 16:53:58 2008 +0200
+++ b/complex/linking/c.d	Tue Sep 09 17:03:25 2008 +0200
@@ -7,10 +7,10 @@
 // @uri@        news:cp2vjj$1ljt$1@digitaldaemon.com
 // @url@        nntp://news.digitalmars.com/digitalmars.D.bugs
 
-module dstress.complex.linking.c;
+module /*dstress.*/ complex.linking.c;
 
-import dstress.complex.linking.a;
-import dstress.complex.linking.b;
+import /*dstress.*/ complex.linking.a;
+import /*dstress.*/ complex.linking.b;
 
 void functC() {
 	StructA!(int)* x;
--- a/run/i/inline_16_C.d	Tue Sep 09 16:53:58 2008 +0200
+++ b/run/i/inline_16_C.d	Tue Sep 09 17:03:25 2008 +0200
@@ -32,7 +32,7 @@
 }
 
 int main(){
-	Fooi2 f = new Foo2();
+	Foo2 f = new Foo2();
 
 	if(status != 0){
 		assert(0);
--- a/run/t/this_13_C.d	Tue Sep 09 16:53:58 2008 +0200
+++ b/run/t/this_13_C.d	Tue Sep 09 17:03:25 2008 +0200
@@ -9,9 +9,13 @@
 
 module dstress.run.t.this_13_C;
 
+interface I {
+	void get( char[] s );
+}
+
 class C{
 	void init(){
-		I i = new class() {
+		I i = new class() I {
 			void get( char[] s ){
 				func();
 			}