]> git.lizzy.rs Git - rust.git/blob - tests/codegen/abi-main-signature-32bit-c-int.rs
Rollup merge of #107555 - edward-shen:edward-shen/dup-trait-suggestion, r=compiler...
[rust.git] / tests / codegen / abi-main-signature-32bit-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 32bit c_int only.
5 // ignore-msp430
6
7 fn main() {
8 }
9
10 // CHECK: define{{( hidden)?}} i32 @main(i32{{( %0)?}}, {{i8\*\*|ptr}}{{( %1)?}})