mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Change tests/span_compile_only.cpp to test ASM system
This commit is contained in:
parent
d8d4d8ff21
commit
12a36fe802
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user