Fix comment
Co-authored-by: Aaron Hill <aa1ronham@gmail.com>
This commit is contained in:
parent
d022603a45
commit
4f30c68937
@ -7,7 +7,7 @@ use std::thread;
|
||||
#[thread_local]
|
||||
static A: u8 = 0;
|
||||
|
||||
// Make sure we catch executing inline assembly.
|
||||
// Make sure we catch accessing thread-local storage.
|
||||
static TEST_BAD: () = {
|
||||
unsafe { let _val = A; }
|
||||
//~^ ERROR could not evaluate static initializer
|
||||
|
Loading…
Reference in New Issue
Block a user