master
 1export fn entry1() void {
 2    const S = extern struct { x: u32 };
 3    _ = *align(1:2:8) S;
 4}
 5
 6export fn entry2() void {
 7    const S = struct { x: u32 };
 8    _ = *align(1:2:@sizeOf(S) * 2) S;
 9}
10
11export fn entry3() void {
12    const E = enum { implicit, backing, type };
13    _ = *align(1:2:8) E;
14}
15
16// error
17//
18// :3:23: error: bit-pointer cannot refer to value of type 'tmp.entry1.S'
19// :3:23: note: only packed structs layout are allowed in packed types
20// :8:36: error: bit-pointer cannot refer to value of type 'tmp.entry2.S'
21// :8:36: note: only packed structs layout are allowed in packed types
22// :13:23: error: bit-pointer cannot refer to value of type 'tmp.entry3.E'