commit | bece4ac257d85e51d94212a51eb7405818247e7e | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Fri Oct 12 16:34:10 2007 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Fri Oct 12 16:34:10 2007 +0000 |
tree | 7bc43c039282566b37a7964c099eee34e4cd08ff | |
parent | 075878af57a14fb4e8b9313b0187c7782a2f9006 [diff] [blame] |
Fixed a bug whereby, struct tag name matches a typedef/objc-class name and hid them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42915 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/namelookup-bug-1.c b/test/Parser/namelookup-bug-1.c new file mode 100644 index 0000000..298798c --- /dev/null +++ b/test/Parser/namelookup-bug-1.c
@@ -0,0 +1,7 @@ +// RUN: clang -verify %s + +typedef int Object; + +struct Object *pp; + +Object staticObject1;