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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/SemaCUDA/bad-calls-on-same-line.cu b/clang/test/SemaCUDA/bad-calls-on-same-line.cu index e91baff5d28..53d5e128234 100644 --- a/clang/test/SemaCUDA/bad-calls-on-same-line.cu +++ b/clang/test/SemaCUDA/bad-calls-on-same-line.cu @@ -35,5 +35,7 @@ inline __host__ __device__ void hd() { void host_fn() { hd<int>(); hd<double>(); // expected-note {{function template specialization 'hd<double>'}} + // expected-note@-1 {{called by 'host_fn'}} hd<float>(); // expected-note {{function template specialization 'hd<float>'}} + // expected-note@-1 {{called by 'host_fn'}} } |

