summaryrefslogtreecommitdiffstats
path: root/test/Parser/cxx-member-init-missing-paren-crash.cpp
blob: 5485e7d2d5c3c09667d21496df238dfcb7ef2e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: not %clang_cc1 -fsyntax-only %s
// Note: The important part here is that we don't crash, not any specific errors
class Test {
 public:
  Test() : ab_(false {};

  bool ab() {
    return ab_;
  }
 private:
  bool ab_;
}