Change tests/span_compile_only.cpp to test ASM system

This commit is contained in:
Daniel Donenfeld 2019-02-28 18:00:40 -08:00
parent d8d4d8ff21
commit 12a36fe802

View File

@ -65,7 +65,7 @@ bool bar()
span<int> s{v}; span<int> s{v};
ret = ret || (s.size() == 4 && s.data() != nullptr); 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; return ret || x > 23;
} }