Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-32201.rs
blob: e22c160416517ce45e5b26eea3cc701da07c2a39 [
file
] [
log
] [
blame
]
extern
{
fn
foo
(
a
:
i32
,
...);
}
fn
bar
(
_
:
*
const
u8
)
{}
fn
main
()
{
unsafe
{
foo
(
0
,
bar
);
//~^ ERROR can't pass `fn(*const u8) {bar}` to variadic function
//~| HELP cast the value to `fn(*const u8)`
}
}