29 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s2// expected-no-diagnostics3 4typedef struct Point Point;5 6namespace NameSpace {7 class Point;8}9 10using namespace NameSpace;11 12class Test13{14public:15 struct Point { };16 virtual bool testMethod (Test::Point& p) = 0;17};18 19// PR815120namespace A { struct Face {}; }21namespace B { struct Face {}; }22using namespace A;23using namespace B;24 25class C {26 struct Face;27 Face *mFaces;28};29