From 20d4f7213dde1ffabe0880bbee46a1de44d586fc Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Mon, 11 Jul 2022 15:39:21 +0300 Subject: Sema: add notes about function return type --- test/cases/compile_errors/pointer_with_different_address_spaces.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'test/cases/compile_errors/pointer_with_different_address_spaces.zig') diff --git a/test/cases/compile_errors/pointer_with_different_address_spaces.zig b/test/cases/compile_errors/pointer_with_different_address_spaces.zig index 3f8c961174..2bbea3d3b6 100644 --- a/test/cases/compile_errors/pointer_with_different_address_spaces.zig +++ b/test/cases/compile_errors/pointer_with_different_address_spaces.zig @@ -12,3 +12,4 @@ export fn entry2() void { // // :2:12: error: expected type '*addrspace(.fs) i32', found '*addrspace(.gs) i32' // :2:12: note: address space 'gs' cannot cast into address space 'fs' +// :1:34: note: function return type declared here -- cgit v1.2.3