# XFAIL: windows
# -> llvm.org/pr24489

# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s

breakpoint set --file call-function.cpp --line 52
run
expression fib(5)
# CHECK: $0 = 5
expression add(4,8)
# CHECK: $1 = 12

expression add(add(5,2),add(3,4))
# CHECK: $2 = 14
expression add(add(5,2),fib(5))
# CHECK: $3 = 12
expression stringCompare((const char*) "Hello world")
# CHECK: $4 = true
expression stringCompare((const char*) "Hellworld")
# CHECK: $5 = false
