summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/init-order-pthread-create.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/init-order-pthread-create.cc')
-rw-r--r--test/asan/TestCases/init-order-pthread-create.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/init-order-pthread-create.cc b/test/asan/TestCases/init-order-pthread-create.cc
index e3334364e..eeff308a4 100644
--- a/test/asan/TestCases/init-order-pthread-create.cc
+++ b/test/asan/TestCases/init-order-pthread-create.cc
@@ -1,7 +1,7 @@
// Check that init-order checking is properly disabled if pthread_create is
// called.
-// RUN: %clangxx_asan %s %p/Helpers/init-order-pthread-create-extra.cc -lpthread -o %t
+// RUN: %clangxx_asan %s %p/Helpers/init-order-pthread-create-extra.cc -pthread -o %t
// RUN: env ASAN_OPTIONS=strict_init_order=true %run %t
#include <stdio.h>