10 typedef int aligned __attribute__((aligned(ALIGNMENT)));
15 bar (char *p, int size)
17 __builtin_strncpy (p, "good", size);
22 struct A : virtual public Base
30 foo (const char *fmt, ...) throw (B,A)
39 size = va_arg (arg, int);
42 p = (char *) __builtin_alloca (size + 1);
44 x = va_arg (arg, double);
49 if (__builtin_strncmp (p, "good", size) != 0)
53 printf ("Failed: %s != good\n", p);
58 if (check_int (&i, __alignof__(i)) != i)
69 try { foo ("foo", 5, 5.0); }