]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/abi-main-signature-16bit-c-int.rs
Suggest defining type parameter when appropriate
[rust.git] / src / test / 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-s390x
14 // ignore-sparc
15 // ignore-sparc64
16 // ignore-wasm32
17 // ignore-x86
18 // ignore-x86_64
19 // ignore-xcore
20
21 fn main() {
22 }
23
24 // CHECK: define i16 @main(i16, i8**)