Don't call a function in function-arguments-naked.rs

Fixes #75096

It's U.B. to use anything other than inline assmebling in a naked
function. Fortunately, the `#break` directive works fine without
anything in the function body.
This commit is contained in:
Aaron Hill 2020-08-06 12:11:49 -04:00
parent 4b0882cfaa
commit bbcacddef6
No known key found for this signature in database
GPG Key ID: B4087E510E98B164

View File

@ -34,7 +34,5 @@ fn main() {
#[naked]
fn naked(x: usize, y: usize) {
zzz(); // #break
// #break
}
fn zzz() { () }