summaryrefslogtreecommitdiff
path: root/test/files/run/t8933/A_1.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2014-11-10 11:02:09 +0100
committerLukas Rytz <lukas.rytz@typesafe.com>2014-11-10 11:02:09 +0100
commit22bc1f89c13eceaf5d19821995a255e43ebabd77 (patch)
treedff9d5d6504de8e5e9655fc485fa3dcc552fa250 /test/files/run/t8933/A_1.scala
parentfad969e211965b10313611436832ca8066d690ef (diff)
parent8d84b62fc9ca2bc01c7e3119088ddac185695124 (diff)
downloadscala-22bc1f89c13eceaf5d19821995a255e43ebabd77.tar.gz
scala-22bc1f89c13eceaf5d19821995a255e43ebabd77.tar.bz2
scala-22bc1f89c13eceaf5d19821995a255e43ebabd77.zip
Merge pull request #4095 from retronym/ticket/8933
Fix problems in Symbol Literal static caching
Diffstat (limited to 'test/files/run/t8933/A_1.scala')
-rw-r--r--test/files/run/t8933/A_1.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t8933/A_1.scala b/test/files/run/t8933/A_1.scala
new file mode 100644
index 0000000000..996e3b4a2c
--- /dev/null
+++ b/test/files/run/t8933/A_1.scala
@@ -0,0 +1,6 @@
+class MotherClass
+
+trait MixinWithSymbol {
+ self: MotherClass =>
+ def symbolFromTrait: Symbol = 'traitSymbol
+}