From 12a36fe802d45fe81fee698c8b04fb5dbceb6111 Mon Sep 17 00:00:00 2001 From: Daniel Donenfeld Date: Thu, 28 Feb 2019 18:00:40 -0800 Subject: [PATCH] Change tests/span_compile_only.cpp to test ASM system --- tests/span_compile_only.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/span_compile_only.cpp b/tests/span_compile_only.cpp index 9839078..bfd01d8 100644 --- a/tests/span_compile_only.cpp +++ b/tests/span_compile_only.cpp @@ -65,7 +65,7 @@ bool bar() span s{v}; ret = ret || (s.size() == 4 && s.data() != nullptr); - int x = s.size() + v.size(); + int x = s[0]+s[1]+s[2]; return ret || x > 23; }