diff options
author | Paul Phillips <paulp@improving.org> | 2009-02-26 21:46:01 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-02-26 21:46:01 +0000 |
commit | 5d802d95ce759ab6cd183b0f1e143c4ff3599207 (patch) | |
tree | de387b21b8741cf36cad13fc69cc4edc01aee225 /test/files/neg | |
parent | 4e52d412b12f785b3518d51d70e034cc67cf807c (diff) | |
download | scala-5d802d95ce759ab6cd183b0f1e143c4ff3599207.tar.gz scala-5d802d95ce759ab6cd183b0f1e143c4ff3599207.tar.bz2 scala-5d802d95ce759ab6cd183b0f1e143c4ff3599207.zip |
Fix and test case for #1392.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/bug1392.check | 4 | ||||
-rw-r--r-- | test/files/neg/bug1392.scala | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/bug1392.check b/test/files/neg/bug1392.check new file mode 100644 index 0000000000..e4c9630435 --- /dev/null +++ b/test/files/neg/bug1392.check @@ -0,0 +1,4 @@ +bug1392.scala:1: error: object Int is not a value +object X extends Application { Int } + ^ +one error found diff --git a/test/files/neg/bug1392.scala b/test/files/neg/bug1392.scala new file mode 100644 index 0000000000..bb23818038 --- /dev/null +++ b/test/files/neg/bug1392.scala @@ -0,0 +1 @@ +object X extends Application { Int }
\ No newline at end of file |