[cfe-commits] r39233 - /cfe/cfe/trunk/test/Parser/function-decls.c
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:41:39 PDT 2007
Author: sabre
Date: Wed Jul 11 11:41:39 2007
New Revision: 39233
URL: http://llvm.org/viewvc/llvm-project?rev=39233&view=rev
Log:
new testcase
Added:
cfe/cfe/trunk/test/Parser/function-decls.c (with props)
Added: cfe/cfe/trunk/test/Parser/function-decls.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Parser/function-decls.c?rev=39233&view=auto
==============================================================================
--- cfe/cfe/trunk/test/Parser/function-decls.c (added)
+++ cfe/cfe/trunk/test/Parser/function-decls.c Wed Jul 11 11:41:39 2007
@@ -0,0 +1,10 @@
+/* RUN: clang %s -parse-ast-print
+ */
+
+void foo() {
+ int X;
+ X = sizeof(void (*(*)())());
+ X = sizeof(int(*)(int, float, ...));
+ X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
+}
+
Propchange: cfe/cfe/trunk/test/Parser/function-decls.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/test/Parser/function-decls.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
More information about the cfe-commits
mailing list