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