modernc.org/cc@v1.0.1/v2/testdata/bug/12.c (about)

     1  #include <assert.h>
     2  
     3  void foo(int *v[]) {
     4  	assert(*v[0] == 42 || *v[0] == 314);
     5  }
     6  
     7  void bar(int v[]) {
     8  	assert(v[0] == 42 || v[0] == 314);
     9  }
    10  
    11  int a[] = {42};
    12  
    13  int main() {
    14  	int *p = a;
    15  	foo(&p);
    16  	bar(a);
    17  	int b[] = {314};
    18  	p = b;
    19  	foo(&p);
    20  	bar(b);
    21  }