summaryrefslogtreecommitdiff
path: root/tests/diagnostics/call-instance-from-static.slang.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diagnostics/call-instance-from-static.slang.expected')
-rw-r--r--tests/diagnostics/call-instance-from-static.slang.expected6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/diagnostics/call-instance-from-static.slang.expected b/tests/diagnostics/call-instance-from-static.slang.expected
new file mode 100644
index 000000000..6be3f7cd5
--- /dev/null
+++ b/tests/diagnostics/call-instance-from-static.slang.expected
@@ -0,0 +1,6 @@
+result code = -1
+standard error = {
+tests/diagnostics/call-instance-from-static.slang(14): error 30100: type 'Test' cannot be used to refer to non-static member 'instanceMethod'
+}
+standard output = {
+}