1 // If we have LLD, see that things more or less work.
3 // REQUIRES: lld-available
5 // RUN: %clangxx_asan -O2 %s -o %t.exe -g -gcodeview -fuse-ld=lld -Wl,-debug
6 // RUN: not %run %t.exe 2>&1 | FileCheck %s
11 char *x
= (char*)malloc(10 * sizeof(char));
14 // CHECK: heap-use-after-free
16 // CHECK: main{{.*}}fuse-lld.cpp:[[@LINE-4]]:3
18 // CHECK: main{{.*}}fuse-lld.cpp:[[@LINE-7]]:20