summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_options/LinkOptionsDevice.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/target_link_options/LinkOptionsDevice.cu')
-rw-r--r--Tests/RunCMake/target_link_options/LinkOptionsDevice.cu14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_options/LinkOptionsDevice.cu b/Tests/RunCMake/target_link_options/LinkOptionsDevice.cu
new file mode 100644
index 0000000..96504e1
--- /dev/null
+++ b/Tests/RunCMake/target_link_options/LinkOptionsDevice.cu
@@ -0,0 +1,14 @@
+#include <cuda.h>
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+ int simplelib()
+{
+ return 0;
+}
+
+int main(void)
+{
+ return simplelib();
+}