aboutsummaryrefslogtreecommitdiff
path: root/tests/import
diff options
context:
space:
mode:
Diffstat (limited to 'tests/import')
-rw-r--r--tests/import/priv_hello.cu1
-rw-r--r--tests/import/pub_hello.cu1
-rw-r--r--tests/import/pub_import_hello.cu1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/import/priv_hello.cu b/tests/import/priv_hello.cu
new file mode 100644
index 0000000..970efcd
--- /dev/null
+++ b/tests/import/priv_hello.cu
@@ -0,0 +1 @@
+hello(){}
diff --git a/tests/import/pub_hello.cu b/tests/import/pub_hello.cu
new file mode 100644
index 0000000..f26624e
--- /dev/null
+++ b/tests/import/pub_hello.cu
@@ -0,0 +1 @@
+pub hello(){}
diff --git a/tests/import/pub_import_hello.cu b/tests/import/pub_import_hello.cu
new file mode 100644
index 0000000..4e6a851
--- /dev/null
+++ b/tests/import/pub_import_hello.cu
@@ -0,0 +1 @@
+pub import "pub_hello.cu";