[cfe-commits] r39040 - /cfe/cfe/trunk/test/Parser/CompoundStmtScope.c

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:27:03 PDT 2007


Author: sabre
Date: Wed Jul 11 11:27:03 2007
New Revision: 39040

URL: http://llvm.org/viewvc/llvm-project?rev=39040&view=rev
Log:
new testcase

Added:
    cfe/cfe/trunk/test/Parser/CompoundStmtScope.c   (with props)

Added: cfe/cfe/trunk/test/Parser/CompoundStmtScope.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Parser/CompoundStmtScope.c?rev=39040&view=auto

==============================================================================
--- cfe/cfe/trunk/test/Parser/CompoundStmtScope.c (added)
+++ cfe/cfe/trunk/test/Parser/CompoundStmtScope.c Wed Jul 11 11:27:03 2007
@@ -0,0 +1,8 @@
+// RUN: not clang %s -fsyntax-only
+
+int foo() {
+  {
+    typedef float X;
+  }
+  X Y;  
+}

Propchange: cfe/cfe/trunk/test/Parser/CompoundStmtScope.c

------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cfe/cfe/trunk/test/Parser/CompoundStmtScope.c

------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision





More information about the cfe-commits mailing list