[cfe-dev] test/Sema/typedef-redef.c failure
nunoplopes at sapo.pt
Thu Jun 19 15:17:31 PDT 2008
Is anyone else seeing a failure in the Sema/typedef-redef.c test?
I'm getting this output:
$ clang -fsyntax-only test/Sema/typedef-redef.c
test/Sema/typedef-redef.c:4:23: error: redefinition of 'size_t'
typedef unsigned long size_t;
In file included from test/Sema/typedef-redef.c:3:
previous definition is here
typedef __SIZE_TYPE__ size_t;
2 diagnostics generated.
Notice that it is including gcc's stddef.h instead of clang's. (btw
__SIZE_TYPE__ is defined as 'long unsigned int').
More information about the cfe-dev