reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
// RUN: %clang_cl_asan -Od %s -Fe%t
// RUN: %run %t | FileCheck %s

#include <stdio.h>

int main() {
  int subscript = 1;
  char buffer[42];
  buffer[subscript] = 42;
  printf("OK\n");
// CHECK: OK
}