[cfe-commits] r52168 - in /cfe/trunk/test/Lexer: digraph.c digraph.cpp

Eli Friedman eli.friedman at gmail.com
Tue Jun 10 00:01:08 PDT 2008


On Mon, Jun 9, 2008 at 11:52 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jun 9, 2008, at 10:14 PM, Eli Friedman wrote:
>
>> Author: efriedma
>> Date: Tue Jun 10 00:14:31 2008
>> New Revision: 52168
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=52168&view=rev
>> Log:
>> Make this test C instead of C++; making it C++ causes a failure on Linux
>> because clang can't parse stdio.h in C++ mode yet.
>
> Are digraphs valid in C?  I thought they were c++ only?

Digraphs are valid in C99; see C99 6.4.6p3.  They aren't valid C90.

-Eli



More information about the cfe-commits mailing list