[cfe-commits] r39195 - in /cfe/cfe/trunk/test/Sema: ./ implicit-def.c
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:40:58 PDT 2007
Author: sabre
Date: Wed Jul 11 11:40:58 2007
New Revision: 39195
URL: http://llvm.org/viewvc/llvm-project?rev=39195&view=rev
Log:
new testcase
Added:
cfe/cfe/trunk/test/Sema/
cfe/cfe/trunk/test/Sema/implicit-def.c (with props)
Added: cfe/cfe/trunk/test/Sema/implicit-def.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Sema/implicit-def.c?rev=39195&view=auto
==============================================================================
--- cfe/cfe/trunk/test/Sema/implicit-def.c (added)
+++ cfe/cfe/trunk/test/Sema/implicit-def.c Wed Jul 11 11:40:58 2007
@@ -0,0 +1,8 @@
+/* RUN: clang -parse-ast %s -std=c89 &&
+ * RUN: not clang -parse-ast %s -std=c99 -pedantic-errors
+ */
+
+int A() {
+ return X();
+}
+
Propchange: cfe/cfe/trunk/test/Sema/implicit-def.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cfe/cfe/trunk/test/Sema/implicit-def.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
More information about the cfe-commits
mailing list