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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Cuda/ObjectLibrary/static.cpp b/Tests/Cuda/ObjectLibrary/static.cpp
index 6db1f914f..527f7f554 100644
--- a/Tests/Cuda/ObjectLibrary/static.cpp
+++ b/Tests/Cuda/ObjectLibrary/static.cpp
@@ -1,6 +1,6 @@
int file1_sq_func(int);
-int static_func(int x)
+int cpp_sq_func(int x)
{
- return file1_sq_func(x);
+ return x * x;
}