From 7a9aba47d5a08e77ccb41a00a3d143d93f74e41e Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 21 Feb 2011 13:53:40 +0000 Subject: new test for Application behavior. --- test/files/run/t4146.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/run/t4146.scala (limited to 'test/files') diff --git a/test/files/run/t4146.scala b/test/files/run/t4146.scala new file mode 100644 index 0000000000..6c960fa3ff --- /dev/null +++ b/test/files/run/t4146.scala @@ -0,0 +1,7 @@ +object bob extends Application { + var name = "Bob" +} + +object Test extends Application { + assert(bob.name == "Bob") +} -- cgit v1.2.3