github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/internal/testing/dwarftestdata/testdata/zig-cc/main.c (about)

     1  volatile int base = 65536;
     2  
     3  void a() {
     4    char str[16];
     5    str[4] = 'a';
     6    str[8] = 'b';
     7    str[12 + base] = 'c';  // This traps.
     8  }
     9  
    10  int main() {
    11    a();
    12    return 0;
    13  }