aboutsummaryrefslogtreecommitdiff
path: root/tinycc/tests/tests2/76_dollars_in_identifiers.c
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-17 01:34:34 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-17 01:34:34 -0300
commit88d82c6eaee88398af1de57cddca692a1f74b087 (patch)
treedf492c2002a1820959703f4f481172cceafeb0a1 /tinycc/tests/tests2/76_dollars_in_identifiers.c
parent111c133b939c15c57c90cd474d55e84928c6307a (diff)
Cleanup feels good! Big work coming up this week.
Diffstat (limited to 'tinycc/tests/tests2/76_dollars_in_identifiers.c')
-rw-r--r--tinycc/tests/tests2/76_dollars_in_identifiers.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/tinycc/tests/tests2/76_dollars_in_identifiers.c b/tinycc/tests/tests2/76_dollars_in_identifiers.c
deleted file mode 100644
index c5fcf99..0000000
--- a/tinycc/tests/tests2/76_dollars_in_identifiers.c
+++ /dev/null
@@ -1,41 +0,0 @@
-#include <stdio.h>
-
-#define $(x) x
-#define $fred 10
-#define joe$ 20
-#define hen$y 30
-
-#define $10(x) x*10
-#define _$10(x) x/10
-
-int main()
-{
- printf("fred=%d\n", $fred);
- printf("joe=%d\n", joe$);
- printf("henry=%d\n", hen$y);
-
- printf("fred2=%d\n", $($fred));
- printf("joe2=%d\n", $(joe$));
- printf("henry2=%d\n", $(hen$y));
-
- printf("fred10=%d\n", $10($fred));
- printf("joe_10=%d\n", _$10(joe$));
-
- int $ = 10;
- int a100$ = 100;
- int a$$ = 1000;
- int a$c$b = 2121;
- int $100 = 10000;
- const char *$$$ = "money";
-
- printf("local=%d\n", $);
- printf("a100$=%d\n", a100$);
- printf("a$$=%d\n", a$$);
- printf("a$c$b=%d\n", a$c$b);
- printf("$100=%d\n", $100);
- printf("$$$=%s", $$$);
-
- return 0;
-}
-
-/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/