brintos

brintos / llvm-project-archived public Read only

0
0
Text · 262 B · d8ec1e8 Raw
14 lines · c
1// RUN: %clang -std=c23 -O0 %s -o %t && %run %t2// UNSUPPORTED: asan, hwasan, ubsan3 4#include <stddef.h>5#include <stdlib.h>6 7extern void free_sized(void *p, size_t size);8 9int main() {10  volatile void *p = malloc(64);11  free_sized((void *)p, 64);12  return 0;13}14