Skip to content

Commit 860ae77

Browse files
tomershafirgithub-actions[bot]
authored andcommitted
Automerge: [Clang][Bytecode] Match exact void pointer deref error message (#166133)
Better match exactly rather than just a prefix.
2 parents 52fb0d0 + 8dcd02a commit 860ae77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/AST/ByteCode/cxx11.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ namespace GH150709 {
374374
namespace DiscardedAddrLabel {
375375
void foo(void) {
376376
L:
377-
*&&L; // both-error {{indirection not permitted}} \
377+
*&&L; // both-error {{indirection not permitted on operand of type 'void *'}} \
378378
// both-warning {{expression result unused}}
379379
}
380380
}

0 commit comments

Comments
 (0)