aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-28 19:29:10 +0200
committerlemon <lsof@mailbox.org>2023-05-28 20:22:33 +0200
commit104330a399f405b83328525bb2be55b360109b16 (patch)
tree31dd3fa40c11464148fdc07af1c558324ff9940d /test.c
parentd0784193a8589982290373e95e2f228439e59160 (diff)
improve struct token
Diffstat (limited to 'test.c')
-rw-r--r--test.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/test.c b/test.c
index cb81b9c..1d6c01f 100644
--- a/test.c
+++ b/test.c
@@ -1,6 +1,6 @@
/* coment */
-#if 1+1 < (-2*2)
+#if 1+1 < (-2*'a')
wawa
#elif 9<<1
#define wow 3
@@ -16,13 +16,15 @@ int add (int x, int y) {
struct foo {struct foo *foo;};
int abs(int x){
- return (x ^ x >> 31) - (x >> 31);
+ return (x ^ x >> 3\
+1) - (x >> 31);
}
int popcnt(unsigned x) {
int n = 0;
while (x) x >>= 1, n++;
- return n + sizeof &"รก"[0];
+ return n + sizeof "ab\r\
+c";
}
struct f {