summaryrefslogtreecommitdiff
path: root/test/files/presentation/t4287b/src/Foo.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/presentation/t4287b/src/Foo.scala')
-rw-r--r--test/files/presentation/t4287b/src/Foo.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/presentation/t4287b/src/Foo.scala b/test/files/presentation/t4287b/src/Foo.scala
new file mode 100644
index 0000000000..47c676e2a2
--- /dev/null
+++ b/test/files/presentation/t4287b/src/Foo.scala
@@ -0,0 +1,15 @@
+trait Greeting {
+ val name: String
+ val msg = "How are you, "+name
+}
+
+object Greeting {
+ val hello = "hello"
+}
+
+class C(i: Int) extends {
+ val nameElse = "Bob"
+} with Greeting {
+ val name = "avc"
+ println(i/*#*/)
+} \ No newline at end of file