diff options
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/debug-limited.rs | 5 | ||||
| -rw-r--r-- | tests/codegen/debug-line-directives-only.rs | 5 | ||||
| -rw-r--r-- | tests/codegen/debug-line-tables-only.rs | 5 |
3 files changed, 6 insertions, 9 deletions
diff --git a/tests/codegen/debug-limited.rs b/tests/codegen/debug-limited.rs index fafee0ef583..48d676887fd 100644 --- a/tests/codegen/debug-limited.rs +++ b/tests/codegen/debug-limited.rs @@ -1,12 +1,11 @@ // Verify that the limited debuginfo option emits llvm's FullDebugInfo, but no type info. // -// ignore-windows // compile-flags: -C debuginfo=limited #[repr(C)] struct StructType { a: i64, - b: i32 + b: i32, } extern "C" { @@ -16,7 +15,7 @@ extern "C" { fn main() { unsafe { - let value: &mut StructType = &mut* creator(); + let value: &mut StructType = &mut *creator(); value.a = 7; save(value as *const StructType) } diff --git a/tests/codegen/debug-line-directives-only.rs b/tests/codegen/debug-line-directives-only.rs index 0dd22931b30..750bdd49de0 100644 --- a/tests/codegen/debug-line-directives-only.rs +++ b/tests/codegen/debug-line-directives-only.rs @@ -1,12 +1,11 @@ // Verify that the only debuginfo generated are the line directives. // -// ignore-windows // compile-flags: -C debuginfo=line-directives-only #[repr(C)] struct StructType { a: i64, - b: i32 + b: i32, } extern "C" { @@ -16,7 +15,7 @@ extern "C" { fn main() { unsafe { - let value: &mut StructType = &mut* creator(); + let value: &mut StructType = &mut *creator(); value.a = 7; save(value as *const StructType) } diff --git a/tests/codegen/debug-line-tables-only.rs b/tests/codegen/debug-line-tables-only.rs index 3d109d4ae51..3ed165a6f69 100644 --- a/tests/codegen/debug-line-tables-only.rs +++ b/tests/codegen/debug-line-tables-only.rs @@ -1,12 +1,11 @@ // Verify that the only debuginfo generated are the line tables. // -// ignore-windows // compile-flags: -C debuginfo=line-tables-only #[repr(C)] struct StructType { a: i64, - b: i32 + b: i32, } extern "C" { @@ -16,7 +15,7 @@ extern "C" { fn main() { unsafe { - let value: &mut StructType = &mut* creator(); + let value: &mut StructType = &mut *creator(); value.a = 7; save(value as *const StructType) } |
