From d8d4d8ff21cfe376e9dc0c9eae5c99b5d832f069 Mon Sep 17 00:00:00 2001 From: Daniel Donenfeld Date: Thu, 28 Feb 2019 17:56:02 -0800 Subject: [PATCH] Change tests/span_compile_only.cpp to test ASM system --- tests/span_compile_only.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/span_compile_only.cpp b/tests/span_compile_only.cpp index 028cd00..9839078 100644 --- a/tests/span_compile_only.cpp +++ b/tests/span_compile_only.cpp @@ -65,6 +65,8 @@ bool bar() span s{v}; ret = ret || (s.size() == 4 && s.data() != nullptr); - return ret; + int x = s.size() + v.size(); + + return ret || x > 23; } }