1 // compile-flags: --diagnostic-width=20 --error-format=json
3 // This test checks that `-Z output-width` effects the JSON error output by restricting it to an
4 // arbitrarily low value so that the effect is visible.
8 //~^ ERROR arguments to this function are incorrect