summaryrefslogtreecommitdiff
path: root/test/SemaCXX/lookup-member.cpp
blob: a2256a89d11cf335bae1e5af18d7a5a4aca187f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -fsyntax-only -verify %s

namespace A {
  class String; // expected-note {{target of using declaration}}
};

using A::String; // expected-note {{using declaration}}
class String; // expected-error {{conflicts with target of using declaration}}

// rdar://8603569
union value {
char *String;
};