diff options
Diffstat (limited to 'test/files/neg/class-of-double-targs.check')
-rw-r--r-- | test/files/neg/class-of-double-targs.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/class-of-double-targs.check b/test/files/neg/class-of-double-targs.check new file mode 100644 index 0000000000..f7e2094f97 --- /dev/null +++ b/test/files/neg/class-of-double-targs.check @@ -0,0 +1,4 @@ +class-of-double-targs.scala:2: error: expression of type Class[Int](classOf[scala.Int]) does not take type parameters. + classOf[Int][Int] + ^ +one error found |