diff options
author | Philipp Haller <hallerp@gmail.com> | 2008-02-01 15:27:55 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2008-02-01 15:27:55 +0000 |
commit | 2e9f2110ccbd8d05a651a2355cc6f2fa6bf8aa01 (patch) | |
tree | ee5daa932ba017285e7bf5b74a097b7724f6049b | |
parent | 1e00b1bd3b624efd8eac511d642d289715404bb6 (diff) | |
download | scala-2e9f2110ccbd8d05a651a2355cc6f2fa6bf8aa01.tar.gz scala-2e9f2110ccbd8d05a651a2355cc6f2fa6bf8aa01.tar.bz2 scala-2e9f2110ccbd8d05a651a2355cc6f2fa6bf8aa01.zip |
Moved 'attributes' from run to pos, removed war...
Moved 'attributes' from run to pos, removed warning
-rw-r--r-- | test/files/pos/attributes.scala (renamed from test/files/run/attributes.scala) | 2 | ||||
-rw-r--r-- | test/files/run/attributes.check | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/test/files/run/attributes.scala b/test/files/pos/attributes.scala index ac3b83433f..9bacab8816 100644 --- a/test/files/run/attributes.scala +++ b/test/files/pos/attributes.scala @@ -57,7 +57,7 @@ object myAttrs { class a2(x: Int) extends scala.Annotation; class a3(x: a1) extends scala.Annotation; } -class a4(ns: Array[Int]) extends scala.ClassfileAnnotation; +class a4(ns: Array[Int]) extends scala.Annotation; object O7 { class a1 extends scala.Annotation; class a2(x: Int) extends scala.Annotation; diff --git a/test/files/run/attributes.check b/test/files/run/attributes.check deleted file mode 100644 index 8b11a7018f..0000000000 --- a/test/files/run/attributes.check +++ /dev/null @@ -1,7 +0,0 @@ -attributes.scala:60: warning: implementation restriction: subclassing Classfile does not -make your annotation visible at runtime. If that is what -you want, you must write the annotation class in Java. -class a4(ns: Array[Int]) extends scala.ClassfileAnnotation; - ^ -one warning found -no such file: Test |