diff --git a/lld/test/ELF/lto/stats-file-option.ll b/lld/test/ELF/lto/stats-file-option.ll
--- a/lld/test/ELF/lto/stats-file-option.ll
+++ b/lld/test/ELF/lto/stats-file-option.ll
@@ -1,3 +1,5 @@
+; REQUIRES: asserts
+
 ; RUN: llvm-as -o %t.bc %s
 
 ;; Try to save statistics to file.