summaryrefslogtreecommitdiff
path: root/test/files/scalap/classPrivate/A.scala
diff options
context:
space:
mode:
authorilyas <ilyas@epfl.ch>2010-03-02 01:02:55 +0000
committerilyas <ilyas@epfl.ch>2010-03-02 01:02:55 +0000
commitdc9bb2630601b49d5cee326566854b96a61b412b (patch)
tree8e1399140f786dda30eb139eb8022d06497bcaed /test/files/scalap/classPrivate/A.scala
parentdae85e321aaf121d83e2b3824e47ab7c525ed2cd (diff)
downloadscala-dc9bb2630601b49d5cee326566854b96a61b412b.tar.gz
scala-dc9bb2630601b49d5cee326566854b96a61b412b.tar.bz2
scala-dc9bb2630601b49d5cee326566854b96a61b412b.zip
#3128 fixed
Diffstat (limited to 'test/files/scalap/classPrivate/A.scala')
-rw-r--r--test/files/scalap/classPrivate/A.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/scalap/classPrivate/A.scala b/test/files/scalap/classPrivate/A.scala
new file mode 100644
index 0000000000..9f1bd34a6a
--- /dev/null
+++ b/test/files/scalap/classPrivate/A.scala
@@ -0,0 +1,9 @@
+class ClassPrivate {
+ private def foo = 1
+ private[ClassPrivate] def bar = 2
+ def baz = 3
+ class Outer {
+ private[ClassPrivate] def qux = 4
+ }
+ protected def quux = 5
+} \ No newline at end of file