]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28324.rs
Pass cflags rather than cxxflags to LLVM as CMAKE_C_FLAGS
[rust.git] / src / test / ui / issues / issue-28324.rs
1 #![allow(safe_extern_statics)]
2
3 extern {
4     static error_message_count: u32;
5 }
6
7 pub static BAZ: u32 = *&error_message_count;
8 //~^ ERROR could not evaluate static initializer
9 //~| tried to read from foreign (extern) static
10
11 fn main() {}