summaryrefslogtreecommitdiff
path: root/test/files/run/t3038b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3038b.scala')
-rw-r--r--test/files/run/t3038b.scala20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/files/run/t3038b.scala b/test/files/run/t3038b.scala
new file mode 100644
index 0000000000..5237ee941e
--- /dev/null
+++ b/test/files/run/t3038b.scala
@@ -0,0 +1,20 @@
+class A {
+ val a1 = 1
+ val a2 = 2
+ private val b1 = 3
+ private val b2 = 4
+ @transient val c1 = 5
+ @transient val c2 = 6
+ def run = {
+ a1
+ a2
+ b1
+ b2
+ c1
+ c2
+ }
+}
+
+object Test extends Application {
+ new A().run
+} \ No newline at end of file