diff options
author | Paul Phillips <paulp@improving.org> | 2009-03-02 19:09:42 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-03-02 19:09:42 +0000 |
commit | ddecab441fd5e7e7ea487b01d02a7f17bcd7747a (patch) | |
tree | d9b29f921dfac77dff0fbdb52127b0ea39b17797 /test | |
parent | 3d96a4aa3230a5e1558378b409e84a65f85ac107 (diff) | |
download | scala-ddecab441fd5e7e7ea487b01d02a7f17bcd7747a.tar.gz scala-ddecab441fd5e7e7ea487b01d02a7f17bcd7747a.tar.bz2 scala-ddecab441fd5e7e7ea487b01d02a7f17bcd7747a.zip |
Fix and test case for #1392.
Diffstat (limited to 'test')
-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 |