13 lines
240 B
Swift
13 lines
240 B
Swift
@inline(never)
|
|
func getDenominator() -> Int {
|
|
return 0
|
|
}
|
|
|
|
@_cdecl("kmain")
|
|
public func kernelMain(_ bootInfo: UnsafeMutablePointer<Bootinfo>) {
|
|
kprint("Test nya")
|
|
let a: Int = 10
|
|
let b = getDenominator()
|
|
let c = a / b
|
|
}
|