35 lines
905 B
LLVM
35 lines
905 B
LLVM
; expect: run
|
|
; result: 42
|
|
; 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 { x: u64 }
|
|
fn @echo(%p: @N0) -> @N0
|
|
effects []
|
|
entry:
|
|
ret %p
|
|
fn @main() -> u64
|
|
effects []
|
|
entry:
|
|
%answer = const.u64 42
|
|
ret %answer
|