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.expected2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/diagnostics/call-instance-from-static.slang.expected b/tests/diagnostics/call-instance-from-static.slang.expected
index 6be3f7cd5..25f8fda85 100644
--- a/tests/diagnostics/call-instance-from-static.slang.expected
+++ b/tests/diagnostics/call-instance-from-static.slang.expected
@@ -1,6 +1,8 @@
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'
+ instanceMethod();
+ ^~~~~~~~~~~~~~
}
standard output = {
}