tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] type name as identifier


From: Jaakko Heinonen
Subject: [Tinycc-devel] type name as identifier
Date: Tue, 9 Aug 2005 21:22:01 +0300
User-agent: Mutt/1.4.2.1i

Hi,

Just FYI this test program fails to compile with tcc:

--
typedef int test;

int
main()
{
        test test;

        if(test);

        return 0;
}
--

$ gcc -Wall -std=c99 test.c (gcc 3.4.3)
$
$ tcc -Wall test.c (tcc 0.9.23)
test.c:6: identifier expected

I don't know if this is valid code according to ISO C99.

-- 
Jaakko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]