// filename:c2011-ex.c // original examples and/or notes: // (c) ISO/IEC JTC1 SC22 WG14 N1570, April 12, 2011 // C2011 // compile and output mechanism: // (c) Ogawa Kiyoshi, kaizen@gifu-u.ac.jp, December.29, 2013 // compile errors and/or wornings: // (c) Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn) // Target: x86_64-apple-darwin11.4.2 //Thread model: posix // (c) LLVM 2003-2009 University of Illinois at Urbana-Champaign. //c2011-6-7-3-1-ex.c #ifdef C2011_6_7_3_1_EX int c[]={0}; int d[100]; #endif // c2011-6-7-6-2-ex.c //#ifdef C2011_6_7_6_2_EX int *x; int y[1]; int n; int m; int (*p2)[2]; int F[2]; // invalid: F has linkage and is VLA int (*r)[2]; // invalid: r has linkage and points to VLA //#endif // output may be