aboutsummaryrefslogtreecommitdiff
path: root/tests/callbacks.cu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/callbacks.cu')
-rw-r--r--tests/callbacks.cu17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/callbacks.cu b/tests/callbacks.cu
new file mode 100644
index 0000000..0249065
--- /dev/null
+++ b/tests/callbacks.cu
@@ -0,0 +1,17 @@
+do_stuff(proc '(u32))
+{
+ proc();
+}
+
+other_proc(u32)
+{
+}
+
+other_proc()
+{
+}
+
+main()
+{
+ do_stuff(other_proc as '(u32));
+}