diff options
Diffstat (limited to 'Tests/Cuda/MixedStandardLevels1/lib.cpp')
-rw-r--r-- | Tests/Cuda/MixedStandardLevels1/lib.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/Cuda/MixedStandardLevels1/lib.cpp b/Tests/Cuda/MixedStandardLevels1/lib.cpp new file mode 100644 index 0000000..cabbacb --- /dev/null +++ b/Tests/Cuda/MixedStandardLevels1/lib.cpp @@ -0,0 +1,7 @@ + +int func(int A, int B) +{ + // Verify that we have at least c++14 + auto mult_func = [](auto a, auto b) { return a * b; }; + return mult_func(A, B); +} |