diff options
Diffstat (limited to 'test/files/neg/predef-masking.check')
-rw-r--r-- | test/files/neg/predef-masking.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/predef-masking.check b/test/files/neg/predef-masking.check new file mode 100644 index 0000000000..79e4dece8a --- /dev/null +++ b/test/files/neg/predef-masking.check @@ -0,0 +1,4 @@ +predef-masking.scala:7: error: value + is not a member of type parameter T + def f[T](x: T) = x + 5 + ^ +one error found |