[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Re: Eclipse Parsing file file error. Thanks.

Sorry, I din't got the eclipse account, can you submit for me?

2010/4/20 Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx>:
> Are you reporting a bug? If so, please use http://bugs.eclipse.org.
> -sergey
>
> On Mon, Apr 19, 2010 at 9:47 PM, çåå(Yonggang Luo) <luoyonggang@xxxxxxxxx>
> wrote:
>>
>> Error while parsing
>>
>> /E:/CI/bld/llvm/projects/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp.:Error
>> resolving 'a' in
>>
>> /E:/CI/bld/llvm/projects/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp.
>> java.lang.StackOverflowError
>>
>>
>> content of
>> E:/CI/bld/llvm/projects/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp:
>> // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
>> void f() {
>> Âauto a = a; // expected-error{{variable 'a' declared with 'auto'
>> type cannot appear in its own initializer}}
>> }
>>
>> struct S { auto a; }; // expected-error{{'auto' not allowed in struct
>> member}}
>>
>> void f(auto a) // expected-error{{'auto' not allowed in function
>> prototype}}
>> {
>> Âtry { } catch (auto a) { Â} // expected-error{{'auto' not allowed in
>> exception declaration}}
>> }
>>
>> template <auto a = 10> class C { }; // expected-error{{'auto' not
>> allowed in template parameter}}
>>
>>
>>
>> --
>> Â Â Â Â æè
>> ç
>> çåå
>> Yours
>> Â Âsincerely,
>> Yonggang Luo
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>



-- 
         æè
ç
çåå
Yours
    sincerely,
Yonggang Luo