Richard Smith | f1f4bc2 | 2015-01-22 02:21:23 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/merge-name-for-linkage -verify %s |
Richard Smith | f1f4bc2 | 2015-01-22 02:21:23 +0000 | [diff] [blame] | 3 | // expected-no-diagnostics |
| 4 | typedef union {} pthread_mutex_t; |
Richard Smith | 3fb1a85 | 2016-08-30 19:13:18 +0000 | [diff] [blame] | 5 | typedef pthread_mutex_t pthread_mutex_t; |
Richard Smith | f1f4bc2 | 2015-01-22 02:21:23 +0000 | [diff] [blame] | 6 | #include "a.h" |
| 7 | pthread_mutex_t x; |
| 8 | #include "b.h" |
| 9 | pthread_mutex_t y; |