about summary refs log tree commit diff
path: root/tests/codegen/enable-lto-unit-splitting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/enable-lto-unit-splitting.rs')
-rw-r--r--tests/codegen/enable-lto-unit-splitting.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/codegen/enable-lto-unit-splitting.rs b/tests/codegen/enable-lto-unit-splitting.rs
index e4698094477..51c2671bc4e 100644
--- a/tests/codegen/enable-lto-unit-splitting.rs
+++ b/tests/codegen/enable-lto-unit-splitting.rs
@@ -2,9 +2,8 @@
 //
 //@ compile-flags: -Clto -Ctarget-feature=-crt-static -Zsplit-lto-unit
 
-#![crate_type="lib"]
+#![crate_type = "lib"]
 
-pub fn foo() {
-}
+pub fn foo() {}
 
 // CHECK: !{{[0-9]+}} = !{i32 4, !"EnableSplitLTOUnit", i32 1}