summaryrefslogtreecommitdiff
path: root/3/5_arith_and_logic/xorq_size.c
diff options
context:
space:
mode:
Diffstat (limited to '3/5_arith_and_logic/xorq_size.c')
-rw-r--r--3/5_arith_and_logic/xorq_size.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/3/5_arith_and_logic/xorq_size.c b/3/5_arith_and_logic/xorq_size.c
new file mode 100644
index 0000000..5751590
--- /dev/null
+++ b/3/5_arith_and_logic/xorq_size.c
@@ -0,0 +1,5 @@
+int main() {
+ int x = 5;
+ x ^= x;
+ return 0;
+}