rust/src/test/ui/parser/duplicate-visibility.rs

5 lines
97 B
Rust

// error-pattern:expected one of `(`, `fn`, `static`, or `type`
extern {
pub pub fn foo();
}