* Correctly return the result when used from the console, so that `DiagnosticsRendering` could use it to output the error. * Add location pointer to `DILDiagnosticError` internal formatting to show diagnostics when called from the API.
4 lines
64 B
C
4 lines
64 B
C
int foo() { return 0; }
|
|
int main() { return foo(); }
|
|
int a = 1;
|