diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-10-02 23:31:46 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-10-02 23:31:46 +0000 |
commit | c373bdc3b8400bf5257e911eeefbfad4fde0ef4d (patch) | |
tree | 7fe483a315fb5e144882c7275297a4c112818fb8 /test/files | |
parent | 082a3edc21c2086b5bd44ab651b71ad4e38174c7 (diff) | |
download | scala-c373bdc3b8400bf5257e911eeefbfad4fde0ef4d.tar.gz scala-c373bdc3b8400bf5257e911eeefbfad4fde0ef4d.tar.bz2 scala-c373bdc3b8400bf5257e911eeefbfad4fde0ef4d.zip |
Updated the attributes test because there is a ...
Updated the attributes test because there is a warning when subclassing
ClassfileAnnotation
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/attributes.check | 7 | ||||
-rw-r--r-- | test/files/run/attributes.scala (renamed from test/files/pos/attributes.scala) | 0 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/attributes.check b/test/files/run/attributes.check new file mode 100644 index 0000000000..8b11a7018f --- /dev/null +++ b/test/files/run/attributes.check @@ -0,0 +1,7 @@ +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 diff --git a/test/files/pos/attributes.scala b/test/files/run/attributes.scala index ac3b83433f..ac3b83433f 100644 --- a/test/files/pos/attributes.scala +++ b/test/files/run/attributes.scala |