21 lines
319 B
LLVM
21 lines
319 B
LLVM
|
; ModuleID = 'example.c'
|
||
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||
|
target triple = "x86_64-pc-linux-gnu"
|
||
|
|
||
|
; Function Attrs: nounwind uwtable
|
||
|
define i32 @main() #0 {
|
||
|
%1 = alloca i32, align 4
|
||
|
store i32 0, i32* %1, align 4
|
||
|
%2 = call i32 @function()
|
||
|
ret i32 0
|
||
|
}
|
||
|
|
||
|
declare i32 @function() #1
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|