1 # RUN: Kaleidoscope-Ch3 < %s 2>&1 | FileCheck %s
3 # Test basic parsing and IR generation.
7 # CHECK: define double @foo(double %x) {
9 # CHECK-NEXT: %addtmp = fadd double %x, 1.000000e+00
10 # CHECK-NEXT: ret double %addtmp
13 # CHECK: define double @__anon_expr() {
15 # CHECK-NEXT: %calltmp = call double @foo(double 1.000000e+00)
16 # CHECK-NEXT: ret double %calltmp