1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 3 namespace A { 4 class String; // expected-note {{target of using declaration}} 5 }; 6 7 using A::String; // expected-note {{using declaration}} 8 class String; // expected-error {{conflicts with target of using declaration}} 9 10 // rdar://8603569 11 union value { 12 char *String; 13 }; 14