1// RUN: rm -rf %t
2// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
3
4@import TypedefTag;
5
6typedef struct { int x; } TypedefStructHidden_t;
7typedef struct { int x; } TypedefStructVisible_t; // expected-error{{typedef redefinition}}
8// expected-note@typedef-tag.h:1 {{here}}
9