cxx-member-init-missing-paren-crash.cpp 227 B

123456789101112
  1. // RUN: not %clang_cc1 -fsyntax-only %s
  2. // Note: The important part here is that we don't crash, not any specific errors
  3. class Test {
  4. public:
  5. Test() : ab_(false {};
  6. bool ab() {
  7. return ab_;
  8. }
  9. private:
  10. bool ab_;
  11. }