xref: /minix3/external/bsd/llvm/dist/clang/test/Parser/cxx-member-init-missing-paren-crash.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: not %clang_cc1 -fsyntax-only %s
2*f4a2713aSLionel Sambuc // Note: The important part here is that we don't crash, not any specific errors
3*f4a2713aSLionel Sambuc class Test {
4*f4a2713aSLionel Sambuc  public:
5*f4a2713aSLionel Sambuc   Test() : ab_(false {};
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc   bool ab() {
8*f4a2713aSLionel Sambuc     return ab_;
9*f4a2713aSLionel Sambuc   }
10*f4a2713aSLionel Sambuc  private:
11*f4a2713aSLionel Sambuc   bool ab_;
12*f4a2713aSLionel Sambuc }
13