summaryrefslogtreecommitdiff
path: root/src/sysdeps/trynullispointer.c
blob: cbb334091b6d08209e4fc90008e51fabbc283991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

/* Explanation: http://www.openwall.com/lists/musl/2013/01/09/13 */

#include <stddef.h>

int main (void)
{
  char s[1][1+(int)NULL] ;
  int i = 0 ;
  return sizeof s[i++], !i ;
}