================
@@ -1241,7 +1241,7 @@ namespace cwg686 { // cwg686: 3.0
 #endif
     struct N {
       operator struct O{}(){};
-      // expected-error@-1 {{'N::O' cannot be defined in a type specifier}}
+      // expected-error@-1 {{'cwg686::f()::N::O' cannot be defined in a type 
specifier}}
----------------
Endilll wrote:

Sorry, I meant a test elsewhere, e.g. in `clang/AST` directory. DR test here is 
not a good fit to test compiler behavior per se, because its contents are 
derived from the Standard wording. In other words, your new `f2` could easily 
be deleted in the future as a duplicate case, and no one will notice reduction 
in coverage.

https://github.com/llvm/llvm-project/pull/168534
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to