================
@@ -18,6 +30,38 @@ void f(B b) {
 struct D : B {};
 } // namespace cwg2718
 
+namespace cwg2749 { // cwg2749: 19
+
+extern int x[2];
+struct Y {
+  int i;
+  int j;
+};
+extern Y y[2];
+
+#if __cplusplus >= 201103L
----------------
Endilll wrote:

If you need to match diagnostics only in C++98, you should modify C++98 RUN 
line to say `-verify=expected,cxx98`, and then use directives like `// 
cxx98-error`.

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

Reply via email to