1*67e74705SXin Li // RUN: rm -rf %t 2*67e74705SXin Li // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/merge-name-for-linkage -verify %s 3*67e74705SXin Li // expected-no-diagnostics 4*67e74705SXin Li typedef union {} pthread_mutex_t; 5*67e74705SXin Li #include "a.h" 6*67e74705SXin Li pthread_mutex_t x; 7*67e74705SXin Li #include "b.h" 8*67e74705SXin Li pthread_mutex_t y; 9