mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
update test case for new std.builtin.OptimizeMode API
This commit is contained in:
parent
9a29f4e038
commit
34b3145099
@ -1,6 +1,6 @@
|
||||
const builtin = @import("std").builtin;
|
||||
export fn entry() void {
|
||||
const foo = builtin.Mode.x86;
|
||||
const foo = builtin.OptimizeMode.x86;
|
||||
_ = foo;
|
||||
}
|
||||
|
||||
@ -8,5 +8,5 @@ export fn entry() void {
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// :3:30: error: enum 'builtin.Mode' has no member named 'x86'
|
||||
// :3:38: error: enum 'builtin.OptimizeMode' has no member named 'x86'
|
||||
// :?:18: note: enum declared here
|
||||
|
Loading…
Reference in New Issue
Block a user