aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/builtin-clear-padding-1.c
blob: 27ffc0a57ce0348981505d85aa3b3e11357bacfb (plain)
1
2
3
4
5
6
7
8
9
10
/* PR libstdc++/88101 */
/* { dg-do compile } */
/* { dg-options "" } */

void
foo (int n)
{
  struct S { char a; int b[n]; long long c; } s;
  __builtin_clear_padding (&s);		/* { dg-message "unimplemented: __builtin_clear_padding not supported for variable length aggregates" } */
}