================
@@ -11,7 +11,7 @@
 #error
 // expected-error@-1 {{}}
 
-//      CHECK: error: no expected directives found: consider use of 
'expected-no-diagnostics'
+//      CHECK: error: no expected directives found: consider use of 
'{{.*}}-no-diagnostics'
----------------
Sh0g0-1758 wrote:

the intended behavior is that when only `-verify` is passed and there are no 
diagnostics in the file then `expected-no-diagnostics` should be the error and 
when `-verify=foo` is passed and no such diagnostics is present in the file, 
then `foo-no-diagnostics` should be the error. 

https://github.com/llvm/llvm-project/pull/78338
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to