]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28472.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / ui / issues / issue-28472.rs
1 // Check that the visibility modifier is included in the span of foreign items.
2
3 extern "C" {
4   fn foo();
5
6   pub //~ ERROR the name `foo` is defined multiple times
7   fn foo();
8
9   pub //~ ERROR the name `foo` is defined multiple times
10   static mut foo: u32;
11 }
12
13 fn main() {
14 }