about summary refs log tree commit diff homepage
path: root/test/Concrete/OneCall.ll
blob: 32802929287026711fc0a84054e677ff6f761024 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s

declare void @print_i32(i32)

define i32 @sum(i32 %a, i32 %b) {
	%c = sub i32 %a, %b
	ret i32 %c
}

define i32 @main() {
	%a = call i32 @sum(i32 54, i32 2)
	call void @print_i32(i32 %a)
	ret i32 0
}