]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/abi-main-signature-32bit-c-int.rs
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[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)?}})