summaryrefslogtreecommitdiff
path: root/test/SemaCUDA/function-template-overload.cu
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCUDA/function-template-overload.cu')
-rw-r--r--test/SemaCUDA/function-template-overload.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCUDA/function-template-overload.cu b/test/SemaCUDA/function-template-overload.cu
index 56bba653958c1..5d75d60d06741 100644
--- a/test/SemaCUDA/function-template-overload.cu
+++ b/test/SemaCUDA/function-template-overload.cu
@@ -41,7 +41,7 @@ template <typename T> __device__ HDType overload_hd(T a);
__device__ HDType overload_hd(int a); // OK.
// Verify that target attributes are taken into account when we
-// explicitly specialize or instantiate function tempaltes.
+// explicitly specialize or instantiate function templates.
template <> __host__ HType overload_hd(int a);
// expected-error@-1 {{no function template matches function template specialization 'overload_hd'}}
template __host__ HType overload_hd(long a);