Skip to content

Commit 404b3c2

Browse files
committed
Fix failing sema test
1 parent 7b04836 commit 404b3c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clang/test/SemaHLSL/Language/InitLists.hlsl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ void Err2(RWBuffer<float4> B) {
121121
// 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}}
122122
// 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}}
123123

124-
// These notes refer to the RWBuffer constructors that do not have source locations
125-
// expected-note@*{{candidate constructor (the implicit copy constructor) not viable}}
126-
// expected-note@*{{candidate constructor (the implicit move constructor) not viable}}
124+
// This note refers to the RWBuffer copy constructor that do not have a source locations
125+
// expected-note@*{{candidate constructor not viable}}
126+
127+

0 commit comments

Comments
 (0)