mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
update test case for new std.builtin.OptimizeMode API
This commit is contained in:
parent
9a29f4e038
commit
34b3145099
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue