commit 953e2778d4402cf85b99061ef9bdb89aa3e5f2db (tree)
parent 818fbd9c567b907031c44961e4299ce1f9059be6
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 24 May 2022 01:20:18 -0700
clean up a compile error test case
These should be build-obj, not build-exe, where possible.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/cases/llvm/pointer_with_different_address_spaces.zig b/test/cases/llvm/pointer_with_different_address_spaces.zig
@@ -1,12 +1,12 @@
fn entry(a: *addrspace(.gs) i32) *addrspace(.fs) i32 {
return a;
}
-pub fn main() void {
+export fn entry2() void {
_ = entry;
}
// error
-// output_mode=Exe
+// output_mode=Obj
// backend=stage2,llvm
// target=x86_64-linux,x86_64-macos
//