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