diff options
Diffstat (limited to 'clang/test/SemaHLSL/Language/InitLists.hlsl')
| -rw-r--r-- | clang/test/SemaHLSL/Language/InitLists.hlsl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/SemaHLSL/Language/InitLists.hlsl b/clang/test/SemaHLSL/Language/InitLists.hlsl index 3607dfd8aedb..a02b6f9d5a76 100644 --- a/clang/test/SemaHLSL/Language/InitLists.hlsl +++ b/clang/test/SemaHLSL/Language/InitLists.hlsl @@ -121,6 +121,5 @@ void Err2(RWBuffer<float4> B) { // expected-note@#ContainsResource{{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'vector<int, 2>' (vector of 2 'int' values) to 'const ContainsResource &' for 1st argument}} // expected-note@#ContainsResource{{candidate constructor (the implicit move constructor) not viable: no known conversion from 'vector<int, 2>' (vector of 2 'int' values) to 'ContainsResource &&' for 1st argument}} -// These notes refer to the RWBuffer constructors that do not have source locations -// expected-note@*{{candidate constructor (the implicit copy constructor) not viable}} -// expected-note@*{{candidate constructor (the implicit move constructor) not viable}} +// This note refers to the RWBuffer copy constructor that do not have a source locations +// expected-note@*{{candidate constructor not viable}} |
