diff options
Diffstat (limited to 'clang/test/SemaCUDA/bad-calls-on-same-line.cu')
-rw-r--r-- | clang/test/SemaCUDA/bad-calls-on-same-line.cu | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/SemaCUDA/bad-calls-on-same-line.cu b/clang/test/SemaCUDA/bad-calls-on-same-line.cu index 53d5e128234..67923323a94 100644 --- a/clang/test/SemaCUDA/bad-calls-on-same-line.cu +++ b/clang/test/SemaCUDA/bad-calls-on-same-line.cu @@ -28,8 +28,7 @@ struct Selector<double> { template <typename T> inline __host__ __device__ void hd() { Selector<T>().f(); - // expected-error@-1 {{reference to __device__ function}} - // expected-error@-2 {{reference to __device__ function}} + // expected-error@-1 2 {{reference to __device__ function}} } void host_fn() { |