This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust
/
tests
/
ui
/
mir
/
mir_small_agg_arg.rs
9 lines
102 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling with clean stderr again. Most were added mechanically.
2018-09-25 23:51:35 +02:00
#![
allow(unused_variables)
]
[MIR-trans] Fix handling of small aggregate arguments Function arguments that are small aggregates get passed as integer types instead. To correctly handle that, we need to use store_ty instead of plain Store.
2015-11-04 16:18:15 +01:00
fn
foo
(
(
x
,
y
)
:
(
i8
,
i8
)
)
{
}
fn
main
(
)
{
foo
(
(
0
,
1
)
)
;
}
Reference in New Issue
Copy Permalink