diff options
author | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-04-22 11:25:02 +0200 |
---|---|---|
committer | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-04-22 11:25:02 +0200 |
commit | dff562c47c47fcac90c116782c92b692f2bb9bf9 (patch) | |
tree | 9325a0eea680b8f7f1256cbac3f93423ef23b9e7 /test/gourdinl/c/bitwise1.c | |
parent | e37d655db0ec3d2c002e200c3e70a1997e39a458 (diff) | |
download | compcert-kvx-dff562c47c47fcac90c116782c92b692f2bb9bf9.tar.gz compcert-kvx-dff562c47c47fcac90c116782c92b692f2bb9bf9.zip |
moving my tests
Diffstat (limited to 'test/gourdinl/c/bitwise1.c')
-rw-r--r-- | test/gourdinl/c/bitwise1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gourdinl/c/bitwise1.c b/test/gourdinl/c/bitwise1.c new file mode 100644 index 00000000..d20641de --- /dev/null +++ b/test/gourdinl/c/bitwise1.c @@ -0,0 +1,8 @@ +int main() +{ + int x = 6, y = 4; + x = x^y; + y = x^876987^x | y << 42; + + return ~x^y; +} |