2017-09-28 23:36:08 +02:00
|
|
|
// Checks the signature of the implicitly generated native main()
|
|
|
|
// entry point. It must match C's `int main(int, char **)`.
|
|
|
|
|
2017-09-30 13:48:12 +02:00
|
|
|
// This test is for targets with 16bit c_int only.
|
|
|
|
// ignore-aarch64
|
|
|
|
// ignore-arm
|
|
|
|
// ignore-asmjs
|
|
|
|
// ignore-hexagon
|
|
|
|
// ignore-mips
|
2018-01-25 13:28:17 +00:00
|
|
|
// ignore-mips64
|
2017-09-30 13:48:12 +02:00
|
|
|
// ignore-powerpc
|
2018-03-19 01:34:32 +00:00
|
|
|
// ignore-powerpc64
|
2020-05-20 17:53:22 +01:00
|
|
|
// ignore-riscv64
|
2017-09-30 13:48:12 +02:00
|
|
|
// ignore-s390x
|
|
|
|
// ignore-sparc
|
2018-06-04 13:27:32 +02:00
|
|
|
// ignore-sparc64
|
2017-09-30 13:48:12 +02:00
|
|
|
// ignore-wasm32
|
|
|
|
// ignore-x86
|
|
|
|
// ignore-x86_64
|
2023-04-14 17:42:08 +08:00
|
|
|
// ignore-loongarch64
|
2017-09-30 13:48:12 +02:00
|
|
|
|
2017-09-28 23:36:08 +02:00
|
|
|
fn main() {
|
|
|
|
}
|
|
|
|
|
2017-09-30 13:48:12 +02:00
|
|
|
// CHECK: define i16 @main(i16, i8**)
|