aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/pointers_with_different_address_spaces.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/cases/compile_errors/pointers_with_different_address_spaces.zig')
-rw-r--r--test/cases/compile_errors/pointers_with_different_address_spaces.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cases/compile_errors/pointers_with_different_address_spaces.zig b/test/cases/compile_errors/pointers_with_different_address_spaces.zig
index 2a7698d0d9..e952da2af5 100644
--- a/test/cases/compile_errors/pointers_with_different_address_spaces.zig
+++ b/test/cases/compile_errors/pointers_with_different_address_spaces.zig
@@ -12,3 +12,4 @@ pub fn main() void {
//
// :2:13: error: expected type '*i32', found '*addrspace(.gs) i32'
// :2:13: note: address space 'gs' cannot cast into address space 'generic'
+// :1:35: note: function return type declared here