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