[cfe-commits] r81622 - /cfe/trunk/test/Parser/cxx-member-initializers.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Sep 12 13:15:19 PDT 2009


Am 12.09.2009 um 21:35 schrieb Anders Carlsson:

> Author: andersca
> Date: Sat Sep 12 14:35:43 2009
> New Revision: 81622
>
> URL: http://llvm.org/viewvc/llvm-project?rev=81622&view=rev
> Log:
> Add a test for PR3733.
>
> Added:
>    cfe/trunk/test/Parser/cxx-member-initializers.cpp
>
> Added: cfe/trunk/test/Parser/cxx-member-initializers.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx-member-initializers.cpp?rev=81622&view=auto
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/test/Parser/cxx-member-initializers.cpp (added)
> +++ cfe/trunk/test/Parser/cxx-member-initializers.cpp Sat Sep 12  
> 14:35:43 2009
> @@ -0,0 +1,8 @@
> +struct x {
> +  x() : a(4) ; // expected-error {{expected '{'}}
> +};
> +
> +struct y {
> +  int a;
> +  y() : a(4) ; // expected-error {{expected '{'}}
> +};

RUN line? :)



More information about the cfe-commits mailing list