summaryrefslogtreecommitdiff
path: root/test/files/run/t8933b/Test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8933b/Test.scala')
-rw-r--r--test/files/run/t8933b/Test.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t8933b/Test.scala b/test/files/run/t8933b/Test.scala
new file mode 100644
index 0000000000..46eedd660f
--- /dev/null
+++ b/test/files/run/t8933b/Test.scala
@@ -0,0 +1,9 @@
+class MotherClass extends MixinWithSymbol {
+ def foo = 'sym1
+}
+
+object Test {
+ def main(args: Array[String]) {
+ (new MotherClass).symbolFromTrait
+ }
+}