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

Eli Friedman eli.friedman at gmail.com
Mon Jun 9 22:14:31 PDT 2008


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.


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:>;
-        %>
-    %>





More information about the cfe-commits mailing list