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