[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructions. (#124055)
[llvm-project.git] / compiler-rt / test / asan / TestCases / Windows / heapalloc_sanity.cpp
blob2f96bc443a43c1f0973bb4820ea7d06fa775693e
1 // RUN: %clang_cl_asan %Od %s %Fe%t
2 // RUN: %run %t 2>&1 | FileCheck %s
3 #include <stdio.h>
4 #include <windows.h>
6 int main() {
7 char *buffer;
8 buffer = (char *)HeapAlloc(GetProcessHeap(), 0, 32),
9 buffer[0] = 'a';
10 HeapFree(GetProcessHeap(), 0, buffer);
11 puts("Okay");
12 // CHECK: Okay