Files
aji/tests/conformance/nominal_queries/diamond_21_u64.air
T

39 lines
1.1 KiB
LLVM

; expect: reject E5101 E5101 E5101 E5101
; phase: 6
; spec: docs/spec/08-verifier.md §7
module test.nominal_queries
air 0
lang 0.1
features []
type @N0 = struct { a: @N1, b: @N1 }
type @N1 = struct { a: @N2, b: @N2 }
type @N2 = struct { a: @N3, b: @N3 }
type @N3 = struct { a: @N4, b: @N4 }
type @N4 = struct { a: @N5, b: @N5 }
type @N5 = struct { a: @N6, b: @N6 }
type @N6 = struct { a: @N7, b: @N7 }
type @N7 = struct { a: @N8, b: @N8 }
type @N8 = struct { a: @N9, b: @N9 }
type @N9 = struct { a: @N10, b: @N10 }
type @N10 = struct { a: @N11, b: @N11 }
type @N11 = struct { a: @N12, b: @N12 }
type @N12 = struct { a: @N13, b: @N13 }
type @N13 = struct { a: @N14, b: @N14 }
type @N14 = struct { a: @N15, b: @N15 }
type @N15 = struct { a: @N16, b: @N16 }
type @N16 = struct { a: @N17, b: @N17 }
type @N17 = struct { a: @N18, b: @N18 }
type @N18 = struct { a: @N19, b: @N19 }
type @N19 = struct { a: @N20, b: @N20 }
type @N20 = struct { a: @N21, b: @N21 }
type @N21 = struct { x: u64 }
fn @echo(%p: @N0) -> @N0
effects []
entry:
ret %p
fn @main() -> u64
effects []
entry:
%answer = const.u64 42
ret %answer