Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Daniel Dunbar | 9aa78d5 | 2009-09-12 23:06:30 +0000 | [diff] [blame] | 2 | |
Anders Carlsson | 8a1d229 | 2009-09-12 19:35:43 +0000 | [diff] [blame] | 3 | struct x { |
4 | x() : a(4) ; // expected-error {{expected '{'}} | ||||
5 | }; | ||||
6 | |||||
7 | struct y { | ||||
8 | int a; | ||||
9 | y() : a(4) ; // expected-error {{expected '{'}} | ||||
10 | }; |