summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr42570.c
blob: 99a8d8072867b8f957e82c582f811c4c492b5f71 (plain)
1
2
3
4
5
6
7
8
9
typedef unsigned char uint8_t;
uint8_t foo[1][0];
extern void abort (void);
int main()
{
  if (sizeof (foo) != 0)
    abort ();
  return 0;
}