summaryrefslogtreecommitdiff
path: root/test/files/neg/t9273.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t9273.check')
-rw-r--r--test/files/neg/t9273.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t9273.check b/test/files/neg/t9273.check
new file mode 100644
index 0000000000..1dca63a736
--- /dev/null
+++ b/test/files/neg/t9273.check
@@ -0,0 +1,10 @@
+t9273.scala:2: error: class type required but ? found
+ val foo: Class[_] = classOf // error without position, line or file
+ ^
+t9273.scala:3: error: not found: type X
+ val foo1: Class[_] = classOf[X] // good error, all info contained
+ ^
+t9273.scala:7: error: not found: type X
+ val foo4: Class[_] = Predef.classOf[X] // good error, all info contained
+ ^
+three errors found