aboutsummaryrefslogtreecommitdiff
path: root/tests/callbacks.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-05-06 22:06:25 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-05-06 22:06:25 +0300
commit82cdf010329c4ac6827698689e7e39644fad07b6 (patch)
tree641c75ea227892a3d8e1a28dcd1001d6ec114600 /tests/callbacks.ek
parentf98ec211bf60858b43b87ae125a5e13be9b41ee5 (diff)
downloadek-82cdf010329c4ac6827698689e7e39644fad07b6.tar.gz
ek-82cdf010329c4ac6827698689e7e39644fad07b6.zip
rename *.cu to *.ek
+ Name changes can be sort of difficult
Diffstat (limited to 'tests/callbacks.ek')
-rw-r--r--tests/callbacks.ek17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/callbacks.ek b/tests/callbacks.ek
new file mode 100644
index 0000000..0249065
--- /dev/null
+++ b/tests/callbacks.ek
@@ -0,0 +1,17 @@
+do_stuff(proc '(u32))
+{
+ proc();
+}
+
+other_proc(u32)
+{
+}
+
+other_proc()
+{
+}
+
+main()
+{
+ do_stuff(other_proc as '(u32));
+}