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.udir
/
p6.cpp
blob
6879cbf63bac8b16baf1b57b0cca61a4084795b5
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
typedef
int
pid_t
;
5
namespace
ns
{
6
typedef
int
pid_t
;
7
}
8
using namespace
ns
;
9
pid_t x
;
10
11
struct
A
{ };
12
namespace
ns
{
13
typedef
::
A A
;
14
}
15
A a
;