about summary refs log tree commit diff homepage
path: root/test/Concrete/OneCall.ll
blob: f37e073c4091e25117a3d6036f98e721095bff7e (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
}