// Make sure LIBCMT doesn't accidentally get added to the list of DEFAULTLIB
// directives.  REQUIRES: asan-dynamic-runtime
// RUN: %clang_cl_asan -LD %s | FileCheck %s
// CHECK: Creating library
// CHECK-NOT: LIBCMT

void foo(int *p) { *p = 42; }

__declspec(dllexport) void bar() {
  int x;
  foo(&x);
}

Add a test case for r216663 [-Zl vs LIBCMT vs asan_win_uar_thunk]
[ASan/Win] Add a test case for r216663 [-Zl vs LIBCMT vs asan_win_uar_thunk]

git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@216665 91177308-0d34-0410-b5e6-96231b3b80d8
