]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/abi-main-signature-32bit-c-int.rs
Auto merge of #98489 - cjgillot:naked-nohir, r=davidtwco,tmiasko
[rust.git] / src / test / 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 i32 @main(i32{{( %0)?}}, {{i8\*\*|ptr}}{{( %1)?}})