]> git.lizzy.rs Git - rust.git/blob - tests/codegen/abi-main-signature-16bit-c-int.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / codegen / abi-main-signature-16bit-c-int.rs
1 // Checks the signature of the implicitly generated native main()
2 // entry point. It must match C's `int main(int, char **)`.
3
4 // This test is for targets with 16bit c_int only.
5 // ignore-aarch64
6 // ignore-arm
7 // ignore-asmjs
8 // ignore-hexagon
9 // ignore-mips
10 // ignore-mips64
11 // ignore-powerpc
12 // ignore-powerpc64
13 // ignore-riscv64
14 // ignore-s390x
15 // ignore-sparc
16 // ignore-sparc64
17 // ignore-wasm32
18 // ignore-x86
19 // ignore-x86_64
20 // ignore-xcore
21
22 fn main() {
23 }
24
25 // CHECK: define i16 @main(i16, i8**)