2018-03-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84606
* g++.dg/cpp0x/pr84606.C: New.
From-SVN: r258947
-2018-03-20 Carl Love <cel@us.ibm.com>
+2018-03-29 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/84606
+ * g++.dg/cpp0x/pr84606.C: New.
+
+2018-03-29 Carl Love <cel@us.ibm.com>
Revert
2017-09-27 Carl Love <cel@us.ibm.com>
--- /dev/null
+// { dg-do compile { target c++11 } }
+
+template<typename>
+struct s {
+ struct {
+ void __attribute__((common([] { struct d }))) g(); // { dg-error "expected|attribute" }
+ } f;
+};
+
+s<int> a {};