summaryrefslogtreecommitdiff
path: root/test/files/run/t7008/Test_3.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-02-01 19:23:00 +0100
committerEugene Burmako <xeno.by@gmail.com>2013-02-01 20:52:12 +0100
commitadf50a3ac0c6861a77a781abc0814c5d17927175 (patch)
treeb77039cf8d33b98f70c64149834fd38ecfc268ef /test/files/run/t7008/Test_3.scala
parentf1701f704a2485fcc2eb6d5d8b5d0228beddd9b3 (diff)
downloadscala-adf50a3ac0c6861a77a781abc0814c5d17927175.tar.gz
scala-adf50a3ac0c6861a77a781abc0814c5d17927175.tar.bz2
scala-adf50a3ac0c6861a77a781abc0814c5d17927175.zip
evicts javac-artifacts.jar
Apparently, the usual _1, _2, _3... naming scheme also works for java files, which need to be compiled together with partests. This allows us to get rid of javac-artifacts.jar.
Diffstat (limited to 'test/files/run/t7008/Test_3.scala')
-rw-r--r--test/files/run/t7008/Test_3.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t7008/Test_3.scala b/test/files/run/t7008/Test_3.scala
new file mode 100644
index 0000000000..b2961a829e
--- /dev/null
+++ b/test/files/run/t7008/Test_3.scala
@@ -0,0 +1,9 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ Macros.foo
+ println("=============")
+
+ val decls = typeOf[JavaClassWithCheckedExceptions_1[_]].declarations.toList
+ decls sortBy (_.name.toString) foreach (decl => println(s"${decl.name}: ${decl.annotations}"))
+} \ No newline at end of file