summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr26425.c
blob: 8931b401426b6ce2ecd35f29cdafd074e6c02810 (plain)
1
2
3
4
5
6
7
8
9
struct keyring_list {
 struct key *keys[0];
};
void keyring_destroy(struct keyring_list *keyring, unsigned short a)
{
 int loop;
  for (loop = a - 1; loop >= 0; loop--)
   key_put(keyring->keys[loop]);
}