llvm-project/clang/test/SemaCXX/lookup-member.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
313 B
C++
Raw Normal View History

// 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;
};