summaryrefslogtreecommitdiff
path: root/tests/diagnostics/param-mutation.slang.expected
blob: a1fb34fb7d374a0f94a4cb7a1af6cee7414a39d3 (plain)
1
2
3
4
5
6
7
8
result code = 0
standard error = {
tests/diagnostics/param-mutation.slang(17): warning 30068: mutating method 'setValue' called on `in` parameter 's'; changes will not be visible to caller. copy the parameter into a local variable if this behavior is intended
    s.setValue(v + 1);
              ^
}
standard output = {
}