brintos

brintos / llvm-project-archived public Read only

0
0
Text · 337 B · 1fd1686 Raw
11 lines · cpp
1// RUN: rm -rf %t2// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/merge-name-for-linkage -verify %s3// expected-no-diagnostics4typedef union {} pthread_mutex_t;5typedef pthread_mutex_t pthread_mutex_t;6#include "a.h"7pthread_mutex_t x;8#include "b.h"9pthread_mutex_t y;10merged_after_definition z;11