summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/EnableStandard/main.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/EnableStandard/main.cu')
-rw-r--r--Tests/CudaOnly/EnableStandard/main.cu17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/CudaOnly/EnableStandard/main.cu b/Tests/CudaOnly/EnableStandard/main.cu
new file mode 100644
index 0000000..83e9dfd
--- /dev/null
+++ b/Tests/CudaOnly/EnableStandard/main.cu
@@ -0,0 +1,17 @@
+
+#include <iostream>
+
+int static_cuda11_func(int);
+int shared_cuda11_func(int);
+
+void test_functions()
+{
+ static_cuda11_func( int(42) );
+ shared_cuda11_func( int(42) );
+}
+
+int main(int argc, char **argv)
+{
+ test_functions();
+ return 0;
+}