Sign in
qemu
/
meson
/
refs/heads/cpp23
/
.
/
test cases
/
rust
/
5 polyglot static
/
clib.c
blob: 366dbe592cb956f98eff0ecdb9eab1ddd967613a [
file
] [
log
] [
blame
]
#include
<stdio.h>
void
hello_from_rust
(
void
);
static
void
hello_from_c
(
void
)
{
printf
(
"Hello from C!\n"
);
}
void
hello_from_both
(
void
)
{
hello_from_c
();
hello_from_rust
();
}