summaryrefslogtreecommitdiff
path: root/Tests/Cuda/ObjectLibrary/static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/ObjectLibrary/static.cpp')
-rw-r--r--Tests/Cuda/ObjectLibrary/static.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Cuda/ObjectLibrary/static.cpp b/Tests/Cuda/ObjectLibrary/static.cpp
new file mode 100644
index 0000000000..6db1f914fc
--- /dev/null
+++ b/Tests/Cuda/ObjectLibrary/static.cpp
@@ -0,0 +1,6 @@
+int file1_sq_func(int);
+
+int static_func(int x)
+{
+ return file1_sq_func(x);
+}