You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
313 B
14 lines
313 B
// 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;
|
|
};
|