diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-12-17 16:10:40 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-12-17 16:10:40 +0000 |
commit | c123fe5e02ce3f805a75d046f678ab1623dc3e8a (patch) | |
tree | 23aca1f80628f28a4d9d1b53729ad753a13b8e34 /test/files/neg | |
parent | a6163bcd8fa5c0886022912e759b9ce47a18196a (diff) | |
download | scala-c123fe5e02ce3f805a75d046f678ab1623dc3e8a.tar.gz scala-c123fe5e02ce3f805a75d046f678ab1623dc3e8a.tar.bz2 scala-c123fe5e02ce3f805a75d046f678ab1623dc3e8a.zip |
Added tests for #4091.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t4091.check | 4 | ||||
-rw-r--r-- | test/files/neg/t4091.scala | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t4091.check b/test/files/neg/t4091.check new file mode 100644 index 0000000000..2fdd07fd4d --- /dev/null +++ b/test/files/neg/t4091.check @@ -0,0 +1,4 @@ +t4091.scala:1: error: expected start of definition +private a + ^ +one error found diff --git a/test/files/neg/t4091.scala b/test/files/neg/t4091.scala new file mode 100644 index 0000000000..7df116d5b5 --- /dev/null +++ b/test/files/neg/t4091.scala @@ -0,0 +1,2 @@ +private a +class b |