1 // RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
3 // Test the frexpl() interceptor.
5 // FIXME: MinGW-w64 implements `frexpl()` as a static import, so the dynamic
6 // interceptor seems to not work.
7 // XFAIL: target={{.*-windows-gnu}}
14 int *exp
= (int *)malloc(sizeof(int));
16 double y
= frexpl(x
, exp
);
17 // CHECK: use-after-free