summaryrefslogtreecommitdiff
path: root/test/files/run/t6732.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6732.scala')
-rw-r--r--test/files/run/t6732.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t6732.scala b/test/files/run/t6732.scala
new file mode 100644
index 0000000000..fdc1ab04e6
--- /dev/null
+++ b/test/files/run/t6732.scala
@@ -0,0 +1,12 @@
+import scala.reflect.runtime.universe._
+import definitions._
+
+object Test extends App {
+ def test(sym: Symbol): Unit = {
+ println(s"${showRaw(sym, printKinds = true)}: ${sym.isModule}, ${sym.isModuleClass}, ${sym.isPackage}, ${sym.isPackageClass}")
+ }
+ test(ScalaPackage)
+ test(ScalaPackageClass)
+ test(ListModule)
+ test(ListModule.moduleClass)
+} \ No newline at end of file