commit | 4a814568b2aaaa2cf83ca01ed404890d65f4c1a6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Dec 14 16:03:29 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Dec 14 16:03:29 2011 +0000 |
tree | fa6d56c15e351f777ef1b29f9567237b01bee9d2 | |
parent | 5533a5517294baeaff9eded5a8b36fb3c6e2df56 [diff] [blame] |
When name lookup comes across a declaration that is in a module that is not visible, look for any previous declarations of that entity that might be visible. llvm-svn: 146563
diff --git a/clang/test/Modules/Inputs/def.h b/clang/test/Modules/Inputs/def.h new file mode 100644 index 0000000..c9bc36d --- /dev/null +++ b/clang/test/Modules/Inputs/def.h
@@ -0,0 +1,7 @@ +@interface A +@end + +struct B { + int b1; +}; +