summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr37713.c
blob: 04b4394dc5647043987101f6a368d6c5428f207d (plain)
1
2
3
4
5
6
7
8
9
10
void add_opush(void)
{
    unsigned char formats[] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0xff };
    void *dtds[sizeof(formats)];
    unsigned int i;
    unsigned char dtd = 0x08;
    for (i = 0; i < sizeof(formats); i++)
	dtds[i] = &dtd;
    sdp_seq_alloc(dtds);
}