llvm-project/clang/test/Modules/Inputs/linkage-merge-sub.h
Douglas Gregor 3552dabfe1 When name lookup for a redeclaration finds declarations that are known
(because they are part of some module) but have not been made visible
(because they are in a submodule that wasn't imported), filter out
those declarations unless both the old declaration and the new
declaration have external linkage. When one or both has internal
linkage, there should be no conflict unless both are imported.

llvm-svn: 171925
2013-01-09 00:47:56 +00:00

12 lines
158 B
C

extern int f0(int);
extern int f1(int);
static int f2(int);
static int f3(int);
extern int v0;
extern int v1;
static int v2;
static int v3;
typedef int T0;