aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/customArgs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/customArgs')
-rw-r--r--tests/neg/customArgs/noimports.scala3
-rw-r--r--tests/neg/customArgs/noimports2.scala3
-rw-r--r--tests/neg/customArgs/nopredef.scala3
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/neg/customArgs/noimports.scala b/tests/neg/customArgs/noimports.scala
new file mode 100644
index 000000000..6cef8dee8
--- /dev/null
+++ b/tests/neg/customArgs/noimports.scala
@@ -0,0 +1,3 @@
+object Test {
+ val t: Int = 1 // error: not found Int
+}
diff --git a/tests/neg/customArgs/noimports2.scala b/tests/neg/customArgs/noimports2.scala
new file mode 100644
index 000000000..b75f1361d
--- /dev/null
+++ b/tests/neg/customArgs/noimports2.scala
@@ -0,0 +1,3 @@
+object Test {
+ assert("asdf" == "asdf") // error: not found assert
+}
diff --git a/tests/neg/customArgs/nopredef.scala b/tests/neg/customArgs/nopredef.scala
new file mode 100644
index 000000000..b75f1361d
--- /dev/null
+++ b/tests/neg/customArgs/nopredef.scala
@@ -0,0 +1,3 @@
+object Test {
+ assert("asdf" == "asdf") // error: not found assert
+}