summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2025-02-10 06:47:18 +0100
committerThomas Bracht Laumann Jespersen <t@laumann.xyz>2025-02-10 06:47:46 +0100
commit2d230e9bc9bf765d1ec4cba1695f3aa2a312fe8d (patch)
tree0f69a027c4742d581034d0c000112935404d9de1 /tests
parentd8321c1947b644888f92795a75645d0c91a6a92d (diff)
lc/lex: add "long" token and lex long integersHEADmaster
Diffstat (limited to 'tests')
-rw-r--r--tests/constlong.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/constlong.c b/tests/constlong.c
new file mode 100644
index 0000000..ae5d6fe
--- /dev/null
+++ b/tests/constlong.c
@@ -0,0 +1,6 @@
+int
+main(void)
+{
+ long x = -9223372036854774574;
+ return (int)x;
+}