// Clause: 7.22.3.5 — If ptr passed to realloc does not match a pointer returned earlier by allocation functions, UB.
#include <stdlib.h>
#include <stdio.h>
int main(void){
    int dummy;
    void *p = realloc(&dummy, 100); // UB
    (void)p;
    return 0;
}
