summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/bad-calls-on-same-line.cu
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCUDA/bad-calls-on-same-line.cu')
-rw-r--r--clang/test/SemaCUDA/bad-calls-on-same-line.cu3
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() {
OpenPOWER on IntegriCloud