[cfe-commits] r38899 - /cfe/cfe/trunk/test/Parser/declarators.c
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:25:36 PDT 2007
Author: sabre
Date: Wed Jul 11 11:25:35 2007
New Revision: 38899
URL: http://llvm.org/viewvc/llvm-project?rev=38899&view=rev
Log:
add bare struct tag decls.
Modified:
cfe/cfe/trunk/test/Parser/declarators.c
Modified: cfe/cfe/trunk/test/Parser/declarators.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Parser/declarators.c?rev=38899&r1=38898&r2=38899&view=diff
==============================================================================
--- cfe/cfe/trunk/test/Parser/declarators.c (original)
+++ cfe/cfe/trunk/test/Parser/declarators.c Wed Jul 11 11:25:35 2007
@@ -16,7 +16,13 @@
int *A;
+struct str;
+
int test2(int *P, int A) {
- // Hard case.
+ struct str;
+
+ // Hard case for array decl, not Array[*].
int Array[*(int*)P+A];
}
+
+
More information about the cfe-commits
mailing list