blob: f60f6f3e808725d447f21d0c551d3cda1f1376c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// check-pass
#![feature(c_variadic)]
extern "C" {
fn foo(f: isize, x: u8, ...);
}
fn main() {
unsafe {
// FIXME: Ideally we could give an unreachable warning
foo(1, loop {}, 1usize);
}
}
|