test/synthetic/uninit.c : add more tests

This commit is contained in:
Daniel Marjamäki 2016-11-02 12:35:08 +01:00
parent 73d87856ce
commit 50d6a23f93
1 changed files with 13 additions and 0 deletions

View File

@ -14,6 +14,19 @@ USE_INT_X(x++)
USE_INT_X(x--) USE_INT_X(x--)
USE_INT_X(++x) USE_INT_X(++x)
USE_INT_X(--x) USE_INT_X(--x)
USE_INT_X(-x)
USE_INT_X(+x)
USE_INT_X(!x)
USE_INT_X(~x)
USE_INT_X(if (x>0))
USE_INT_X(if (x>=0))
USE_INT_X(if (x<=0))
USE_INT_X(if (x<0))
USE_INT_X(if (x==0))
USE_INT_X(if (x==0))
USE_INT_X(for (int a=x; a<10; a++))
USE_INT_X(for (int a=0; a<x; a++))
USE_INT_X(for (int a=0; a<10; a+=x))
USE_INT_X(x=x+1) USE_INT_X(x=x+1)
USE_INT_X(x=x-1) USE_INT_X(x=x-1)
USE_INT_X(x=x*1) USE_INT_X(x=x*1)