diff options
Diffstat (limited to 'test/SemaCUDA/function-overload.cu')
-rw-r--r-- | test/SemaCUDA/function-overload.cu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCUDA/function-overload.cu b/test/SemaCUDA/function-overload.cu index adf488b5eea3..1d78636a7089 100644 --- a/test/SemaCUDA/function-overload.cu +++ b/test/SemaCUDA/function-overload.cu @@ -119,7 +119,7 @@ __host__ void hostf() { HostReturnTy ret_cdh = cdh(); GlobalFnPtr fp_g = g; - g(); // expected-error {{call to global function g not configured}} + g(); // expected-error {{call to global function 'g' not configured}} g<<<0, 0>>>(); } @@ -202,7 +202,7 @@ __host__ __device__ void hostdevicef() { #if defined (__CUDA_ARCH__) // expected-error@-2 {{reference to __global__ function 'g' in __host__ __device__ function}} #else - // expected-error@-4 {{call to global function g not configured}} + // expected-error@-4 {{call to global function 'g' not configured}} #endif g<<<0,0>>>(); |