================ @@ -0,0 +1,108 @@ +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -fsyntax-only -verify -std=c11 -Wno-unused-value -Wno-unused-but-set-variable -Wbitfield-width -Wbitfield-enum-conversion + +enum A { + A_a, + A_b, + A_c, + A_d +}; + +struct S { + enum A a1 : 1; // #1 ---------------- ojhunt wrote:
Yeah, I just discovered while working on the C++ version of the test that bookmarks aren't required to be numbers :D https://github.com/llvm/llvm-project/pull/116785 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits