Skip to content

Commit 953e277

Browse files
committed
clean up a compile error test case
These should be build-obj, not build-exe, where possible.
1 parent 818fbd9 commit 953e277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cases/llvm/pointer_with_different_address_spaces.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
fn entry(a: *addrspace(.gs) i32) *addrspace(.fs) i32 {
22
return a;
33
}
4-
pub fn main() void {
4+
export fn entry2() void {
55
_ = entry;
66
}
77

88
// error
9-
// output_mode=Exe
9+
// output_mode=Obj
1010
// backend=stage2,llvm
1111
// target=x86_64-linux,x86_64-macos
1212
//

0 commit comments

Comments
 (0)