summaryrefslogtreecommitdiff
path: root/test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-01-17 20:29:33 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-01-17 20:30:15 -0800
commit22ab72f3021b46435bef3437ff1d2ea3a7cc30c7 (patch)
treeeb072eefcd20d72944a0e445f5b0376df2c7e2af /test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala
parent7c0fd124a636bb0dcca236d5aaf7e799c40d6104 (diff)
parent97b9b2c06a5f562b749eb34834096118f21ca843 (diff)
downloadscala-22ab72f3021b46435bef3437ff1d2ea3a7cc30c7.tar.gz
scala-22ab72f3021b46435bef3437ff1d2ea3a7cc30c7.tar.bz2
scala-22ab72f3021b46435bef3437ff1d2ea3a7cc30c7.zip
Merge commit '97b9b2c06a' from 2.10.x into master
Check files updated: test/files/presentation/t8085*.check Conflicts: build.xml src/compiler/scala/tools/nsc/ast/parser/Parsers.scala src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala
Diffstat (limited to 'test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala')
-rw-r--r--test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala b/test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala
new file mode 100644
index 0000000000..45e43c7afb
--- /dev/null
+++ b/test/files/presentation/t8085/src/nodescala/NodeScalaSuite.scala
@@ -0,0 +1,10 @@
+package nodescala
+
+class NodeScalaSuite {
+ "".rich
+
+ // This is here only to prove that the presentation compiler is instantiated with the
+ // correct `sourcepath` value (if it wasn't, you would see a `not found: type Foo` in
+ // the test's output
+ println(new Foo())
+}