Hi again,


On Fri, Dec 27, 2013 at 12:56 PM, İsmail Dönmez <[email protected]> wrote:

> Hi,
>
>
> On Wed, Dec 25, 2013 at 3:47 AM, Alp Toker <[email protected]> wrote:
>>
>> --- cfe/trunk/test/SemaCXX/types_compatible_p.cpp (original)
>> +++ cfe/trunk/test/SemaCXX/types_compatible_p.cpp Tue Dec 24 19:47:02 2013
>> @@ -1,5 +1,8 @@
>> -// RUN: %clang_cc1 -fsyntax-only -verify %s
>> +// RUN: %clang_cc1 -fsyntax-only -verify -x c++ %s
>> +// RUN: %clang_cc1 -fsyntax-only -x c %s
>>
>> -bool f() {
>> -  return __builtin_types_compatible_p(int, const int); //
>> expected-error{{C++}}
>> +// Test that GNU C extension __builtin_types_compatible_p() is not
>> available in C++ mode.
>> +
>> +int f() {
>> +  return __builtin_types_compatible_p(int, const int); //
>> expected-error{{}}
>>  }
>>
>
> This is failing here with my armv7 linux non-asserts build:
>
>  FAIL: Clang :: SemaCXX/types_compatible_p.cpp (4988 of 16328)
> ******************** TEST 'Clang :: SemaCXX/types_compatible_p.cpp' FAILED
> ********************
> Script:
> --
> /havana/work/llvm/build/Release/bin/clang -cc1 -internal-isystem
> /havana/work/llvm/build/Release/bin/../lib/clang/3.5/include -fsyntax-only
> -verify -x c++
> /havana/work/llvm/tools/clang/test/SemaCXX/types_compatible_p.cpp
> /havana/work/llvm/build/Release/bin/clang -cc1 -internal-isystem
> /havana/work/llvm/build/Release/bin/../lib/clang/3.5/include -fsyntax-only
> -x c /havana/work/llvm/tools/clang/test/SemaCXX/types_compatible_p.cpp
> --
> Exit Code: 1
>
> Command Output (stderr):
> --
> error: 'error' diagnostics expected but not seen:
>   File /havana/work/llvm/tools/clang/test/SemaCXX/types_compatible_p.cpp
> Line 7:
> 1 error generated.
>

A clean rebuild fixed the issue.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to