repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
SVE intrinsics: Fold svdiv with all-zero operands to zero vector
[official-gcc.git]
/
gcc
/
testsuite
/
rust
/
compile
/
unsafe7.rs
blob
a6b69e1ac37505310a934b2b1c22f27ee9503ac3
1
extern "C" {
2
fn printf(fmt: *const i8, ...);
3
}
4
5
fn main() {
6
let s = "hey\0";
7
8
printf(s as *const str as *const i8); // { dg-error "call to extern function" }
9
}