summaryrefslogtreecommitdiffstats
path: root/test/Modules/merge-name-for-linkage.cpp
blob: 1700b610a5c2f74ef6ebc34f98966f3de7705c74 (plain)
1
2
3
4
5
6
7
8
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I%S/Inputs/merge-name-for-linkage -verify %s
// expected-no-diagnostics
typedef union {} pthread_mutex_t;
#include "a.h"
pthread_mutex_t x;
#include "b.h"
pthread_mutex_t y;
OpenPOWER on IntegriCloud