| Matt Beaumont-Gay | 1090452 | 2011-09-23 22:39:23 +0000 | [diff] [blame] | 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 | |||||
| 7 | bool ab() { | ||||
| 8 | return ab_; | ||||
| 9 | } | ||||
| 10 | private: | ||||
| 11 | bool ab_; | ||||
| 12 | } | ||||