summaryrefslogtreecommitdiff
path: root/Tests/CudaOnly/CircularLinkLine/file1.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/CircularLinkLine/file1.cu')
-rw-r--r--Tests/CudaOnly/CircularLinkLine/file1.cu6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CudaOnly/CircularLinkLine/file1.cu b/Tests/CudaOnly/CircularLinkLine/file1.cu
new file mode 100644
index 000000000..88ac4e3cb
--- /dev/null
+++ b/Tests/CudaOnly/CircularLinkLine/file1.cu
@@ -0,0 +1,6 @@
+
+extern __device__ int file2_func(int);
+int __device__ file1_func(int x)
+{
+ return file2_func(x);
+}