================
@@ -151,3 +151,21 @@ class C {
// expected-error {{unexpected ';' before ')'}}
};
}
+
+#if __cplusplus >= 201103L
+namespace GH23317 {
+struct A {
----------------
erichkeane wrote:
Is this still going to work for:
```
struct A {
enum E : int;
enum E : int {ae1, ae2};
constexpr int foo() const;
};
```
https://github.com/llvm/llvm-project/pull/134998
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits