diff --git a/compiler-rt/test/msan/setlocale.cpp b/compiler-rt/test/sanitizer_common/TestCases/setlocale.cpp similarity index 61% rename from compiler-rt/test/msan/setlocale.cpp rename to compiler-rt/test/sanitizer_common/TestCases/setlocale.cpp index 796f4454e6aa..e20e8b2f4a92 100644 --- a/compiler-rt/test/msan/setlocale.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/setlocale.cpp @@ -1,11 +1,11 @@ -// RUN: %clangxx_msan -O0 %s -o %t && %run %t +// RUN: %clangxx -O0 %s -o %t && %run %t #include #include #include int main(void) { - char *locale = setlocale (LC_ALL, ""); + char *locale = setlocale(LC_ALL, ""); assert(locale); if (locale[0]) exit(0);