2005-06-07 Dale Johannesen <dalej@apple.com>
* gcc.dg/
20050607-1.c: New.
From-SVN: r100729
+2005-06-07 Dale Johannesen <dalej@apple.com>
+
+ * gcc.dg/20050607-1.c: New.
+
2005-06-07 Jakub Jelinek <jakub@redhat.com>
PR middle-end/21850
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-Wpadded" }
+/* The struct internally constructed for the nested function should
+ not result in a warning from -Wpadded. */
+extern int baz(int (*) (int));
+int foo(void)
+{
+ int k = 3;
+ int bar(int x) {
+ return x + k;
+ }
+ return baz(bar);
+}