blob: 3266d993974f00fd561a6f45a668ced1cad70b56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// zig fmt: off
const Number = enum {
a,
b align(i32),
};
// zig fmt: on
export fn entry1() void {
const x: Number = undefined;
_ = x;
}
// error
//
// :4:13: error: enum fields cannot be aligned
|