stage2: better pointer source location

This commit is contained in:
Veikka Tuominen
2022-07-12 16:08:23 +03:00
committed by Andrew Kelley
parent 29815fe9de
commit d729173204
17 changed files with 202 additions and 152 deletions

View File

@@ -7,5 +7,5 @@ export fn entry() void {
// backend=stage2
// target=native
//
// :1:1: error: C pointers cannot point to non-C-ABI-compatible type 'void'
// :1:1: note: 'void' is a zero bit type; for C 'void' use 'anyopaque'
// :2:16: error: C pointers cannot point to non-C-ABI-compatible type 'void'
// :2:16: note: 'void' is a zero bit type; for C 'void' use 'anyopaque'