summaryrefslogtreecommitdiff
path: root/test/files/presentation/t4287b/src/Foo.scala
blob: 47c676e2a288edfb3b5bfdfe42232694691e92c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/*#*/)
}