diff options
author | Lex Spoon <lex@lexspoon.org> | 2006-05-09 09:20:26 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2006-05-09 09:20:26 +0000 |
commit | f20335d1907a7c71f37f627753ffdf9200240e04 (patch) | |
tree | c70f6229497eed4b40a3009f120b36770a01a376 /test/files/run/classof.scala | |
parent | dcb432cd6ebf278ec86dbe28cd07ba9803d2f787 (diff) | |
download | scala-f20335d1907a7c71f37f627753ffdf9200240e04.tar.gz scala-f20335d1907a7c71f37f627753ffdf9200240e04.tar.bz2 scala-f20335d1907a7c71f37f627753ffdf9200240e04.zip |
Diffstat (limited to 'test/files/run/classof.scala')
-rw-r--r-- | test/files/run/classof.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/classof.scala b/test/files/run/classof.scala new file mode 100644 index 0000000000..c2c76b344e --- /dev/null +++ b/test/files/run/classof.scala @@ -0,0 +1,8 @@ +class SomeClass + +object Test { + def main(args: Array[String]): Unit = { + val cls:Class = classOf[SomeClass] + Console.println(cls.getName) + } +} |