blob: efa448949c84b3209391a1eb1baa780614d5ece8 [file] [log] [blame]
// RUN: llgo -S -emit-llvm -o - %s | FileCheck %s
package foo
// CHECK: define void @foo.Test01_SI8(i8 signext)
func Test01_SI8(x int8) {}
// CHECK: define void @foo.Test02_UI8(i8 zeroext)
func Test02_UI8(x uint8) {}
// CHECK: define void @foo.Test03_SI16(i16 signext)
func Test03_SI16(x int16) {}
// CHECK: define void @foo.Test04_UI16(i16 zeroext)
func Test04_UI16(x uint16) {}
// CHECK: define void @foo.Test05_SI32(i32)
func Test05_SI32(x int32) {}
// CHECK: define void @foo.Test06_UI32(i32)
func Test06_UI32(x uint32) {}
// CHECK: define void @foo.Test07_SI64(i64)
func Test07_SI64(x int64) {}
// CHECK: define void @foo.Test08_UI64(i64)
func Test08_UI64(x uint64) {}