aboutsummaryrefslogtreecommitdiff
path: root/tests/alias
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 00:07:56 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 00:07:56 +0300
commit33fcf676128426f2ac9a4730d63fa481bb351518 (patch)
treefb8553e58fb3553e1b1da334b5a4d54e254f2340 /tests/alias
parent0d4e9292d85a169f881926556992d4ae12dcb6f4 (diff)
downloadek-33fcf676128426f2ac9a4730d63fa481bb351518.tar.gz
ek-33fcf676128426f2ac9a4730d63fa481bb351518.zip
make check works again
Diffstat (limited to 'tests/alias')
-rw-r--r--tests/alias/alias.ek9
-rw-r--r--tests/alias/source.mk1
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/alias/alias.ek b/tests/alias/alias.ek
new file mode 100644
index 0000000..2066506
--- /dev/null
+++ b/tests/alias/alias.ek
@@ -0,0 +1,9 @@
+typedef i27 {}
+typedef i9 {}
+
+typedef int i27;
+
+main()
+{
+ int a = 10 as i27;
+}
diff --git a/tests/alias/source.mk b/tests/alias/source.mk
new file mode 100644
index 0000000..cc799ef
--- /dev/null
+++ b/tests/alias/source.mk
@@ -0,0 +1 @@
+SIMPLE += alias