tests: fatal: make sure the illegal insn occupies a full word

... and is properly aligned. This may make a difference on
64-bit targets.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
Nicolas Pitre 2019-08-06 16:24:13 -04:00 committed by Maureen Helm
commit af1510d3bb

View file

@ -63,7 +63,7 @@ void alt_thread1(void)
* and xtensa
*/
{
int illegal = 0;
long illegal = 0;
((void(*)(void))&illegal)();
}
#endif