repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CXX
/
dcl.dcl
/
basic.namespace
/
namespace.udecl
/
p6-cxx11.cpp
blob
97b2953b903123c2529f5b8882702db3a009cdd4
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
namespace
A
{
4
namespace
B
{ }
5
}
6
7
using
A
::
B
;
// expected-error{{using declaration cannot refer to a namespace}}