1// RUN: %clang_cc1 -fsyntax-only -verify %s 2 3// <rdar://problem/9168556> 4typedef struct Point Point; 5 6namespace NameSpace { 7 class Point; 8} 9 10using namespace NameSpace; 11 12class Test 13{ 14public: 15 struct Point { }; 16 virtual bool testMethod (Test::Point& p) = 0; 17}; 18 19// PR8151 20namespace A { struct Face {}; } 21namespace B { struct Face {}; } 22using namespace A; 23using namespace B; 24 25class C { 26 struct Face; 27 Face *mFaces; 28}; 29