diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2013-08-16 13:41:46 +0200 |
---|---|---|
committer | Den Shabalin <den.shabalin@gmail.com> | 2013-08-16 14:04:04 +0200 |
commit | a721df7e030b2ba69e7a51d4821bc3622e4c6774 (patch) | |
tree | 2b97337e672f4a111df122b5e9ca6c7bde03d55d | |
parent | 213116631aa2e338e09b6f6de93f8e9ef216ce14 (diff) | |
download | scala-a721df7e030b2ba69e7a51d4821bc3622e4c6774.tar.gz scala-a721df7e030b2ba69e7a51d4821bc3622e4c6774.tar.bz2 scala-a721df7e030b2ba69e7a51d4821bc3622e4c6774.zip |
SI-7757 add additional test case with annotation on the next line
-rw-r--r-- | test/files/neg/t7757.check | 4 | ||||
-rw-r--r-- | test/files/neg/t7757a.check | 4 | ||||
-rw-r--r-- | test/files/neg/t7757a.scala (renamed from test/files/neg/t7757.scala) | 0 | ||||
-rw-r--r-- | test/files/neg/t7757b.check | 4 | ||||
-rw-r--r-- | test/files/neg/t7757b.scala | 2 |
5 files changed, 10 insertions, 4 deletions
diff --git a/test/files/neg/t7757.check b/test/files/neg/t7757.check deleted file mode 100644 index 8790cbc428..0000000000 --- a/test/files/neg/t7757.check +++ /dev/null @@ -1,4 +0,0 @@ -t7757.scala:1: error: ';' expected but '@' found. -trait Foo @annot - ^ -one error found diff --git a/test/files/neg/t7757a.check b/test/files/neg/t7757a.check new file mode 100644 index 0000000000..de24e23004 --- /dev/null +++ b/test/files/neg/t7757a.check @@ -0,0 +1,4 @@ +t7757a.scala:1: error: ';' expected but '@' found. +trait Foo @annot + ^ +one error found diff --git a/test/files/neg/t7757.scala b/test/files/neg/t7757a.scala index 24f6c16cb4..24f6c16cb4 100644 --- a/test/files/neg/t7757.scala +++ b/test/files/neg/t7757a.scala diff --git a/test/files/neg/t7757b.check b/test/files/neg/t7757b.check new file mode 100644 index 0000000000..3e5a0f1fa6 --- /dev/null +++ b/test/files/neg/t7757b.check @@ -0,0 +1,4 @@ +t7757b.scala:2: error: expected start of definition +@annot2 + ^ +one error found diff --git a/test/files/neg/t7757b.scala b/test/files/neg/t7757b.scala new file mode 100644 index 0000000000..e9a537dba1 --- /dev/null +++ b/test/files/neg/t7757b.scala @@ -0,0 +1,2 @@ +trait Foo2 +@annot2
\ No newline at end of file |