2015-01-22 10:21:23 +08:00
|
|
|
// RUN: rm -rf %t
|
2015-06-16 08:08:24 +08:00
|
|
|
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/merge-name-for-linkage -verify %s
|
2015-01-22 10:21:23 +08:00
|
|
|
// expected-no-diagnostics
|
|
|
|
typedef union {} pthread_mutex_t;
|
2016-08-31 03:13:18 +08:00
|
|
|
typedef pthread_mutex_t pthread_mutex_t;
|
2015-01-22 10:21:23 +08:00
|
|
|
#include "a.h"
|
|
|
|
pthread_mutex_t x;
|
|
|
|
#include "b.h"
|
|
|
|
pthread_mutex_t y;
|
2017-01-27 06:39:55 +08:00
|
|
|
merged_after_definition z;
|