2017-09-28 23:36:08 +02:00
|
|
|
// Checks the signature of the implicitly generated native main()
|
|
|
|
// entry point. It must match C's `int main(int, char **)`.
|
|
|
|
|
2017-09-30 13:48:12 +02:00
|
|
|
// This test is for targets with 32bit c_int only.
|
|
|
|
// ignore-msp430
|
|
|
|
|
2017-09-28 23:36:08 +02:00
|
|
|
fn main() {
|
|
|
|
}
|
|
|
|
|
2023-07-27 14:44:13 -07:00
|
|
|
// CHECK: define{{( hidden)?}} i32 @main(i32{{( %0)?}}, ptr{{( %1)?}})
|