[cfe-commits] r38892 - /cfe/cfe/trunk/test/Parser/expressions.c

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:25:32 PDT 2007


Author: sabre
Date: Wed Jul 11 11:25:32 2007
New Revision: 38892

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

Modified:
    cfe/cfe/trunk/test/Parser/expressions.c

Modified: cfe/cfe/trunk/test/Parser/expressions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Parser/expressions.c?rev=38892&r1=38891&r2=38892&view=diff

==============================================================================
--- cfe/cfe/trunk/test/Parser/expressions.c (original)
+++ cfe/cfe/trunk/test/Parser/expressions.c Wed Jul 11 11:25:32 2007
@@ -23,3 +23,8 @@
 int test4() {
   test4();
 }
+
+int test_offsetof() {
+  // FIXME: change into something that is semantically correct.
+  __builtin_offsetof(int, a.b.c[4][5]);
+}





More information about the cfe-commits mailing list