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

Chris Lattner clattner at apple.com
Mon Jun 9 23:52:56 PDT 2008


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?

-Chris

>
>
>
> Added:
>    cfe/trunk/test/Lexer/digraph.c
>      - copied unchanged from r52162, cfe/trunk/test/Lexer/digraph.cpp
> Removed:
>    cfe/trunk/test/Lexer/digraph.cpp
>
> Removed: cfe/trunk/test/Lexer/digraph.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/digraph.cpp?rev=52167&view=auto
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- cfe/trunk/test/Lexer/digraph.cpp (original)
> +++ cfe/trunk/test/Lexer/digraph.cpp (removed)
> @@ -1,15 +0,0 @@
> -// RUN: clang -fsyntax-only %s
> -
> -%:include <stdio.h>
> -
> -    %:ifndef BUFSIZE
> -     %:define BUFSIZE  512
> -    %:endif
> -
> -    void copy(char d<::>, const char s<::>, int len)
> -    <%
> -        while (len-- >= 0)
> -        <%
> -            d<:len:> = s<:len:>;
> -        %>
> -    %>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list