[LLVMdev] test suite and int main

Eli Friedman eli.friedman at gmail.com
Wed Nov 2 11:07:37 PDT 2011


On Wed, Nov 2, 2011 at 10:38 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> I'm just setting up the test suite, and I'm seeing a lot of failures
> from main() not returning int, etc. in some of the tests. Is this
> normal?
>
> For example:
> Output/2003-07-09-LoadShorts.cbe.c:117:1: error: 'main' must return
> 'int'
> unsigned int main(unsigned int llvm_cbe_argc, unsigned char
> **llvm_cbe_argv);

Why are you trying to run the test suite using the C backend?

-Eli



More information about the llvm-dev mailing list