2017-09-28 21:36:08 +00:00
|
|
|
// Checks the signature of the implicitly generated native main()
|
|
|
|
// entry point. It must match C's `int main(int, char **)`.
|
|
|
|
|
2017-09-30 11:48:12 +00: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 11:48:12 +00:00
|
|
|
// ignore-powerpc
|
2018-03-19 01:34:32 +00:00
|
|
|
// ignore-powerpc64
|
2020-05-20 16:53:22 +00:00
|
|
|
// ignore-riscv64
|
2017-09-30 11:48:12 +00:00
|
|
|
// ignore-s390x
|
|
|
|
// ignore-sparc
|
2018-06-04 11:27:32 +00:00
|
|
|
// ignore-sparc64
|
2017-09-30 11:48:12 +00:00
|
|
|
// ignore-wasm32
|
|
|
|
// ignore-x86
|
|
|
|
// ignore-x86_64
|
|
|
|
|
2017-09-28 21:36:08 +00:00
|
|
|
fn main() {
|
|
|
|
}
|
|
|
|
|
2017-09-30 11:48:12 +00:00
|
|
|
// CHECK: define i16 @main(i16, i8**)
|