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
[clang] Fix implicit integer conversion for opaque enums declared in class templates...
[llvm-project.git]
/
clang
/
test
/
CXX
/
basic
/
basic.lookup
/
basic.lookup.qual
/
namespace.qual
/
p4.cpp
blob
7c292d58f500e1b2bde89e763467a012a8a25838
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
namespace
A
{
5
int
a
;
6
}
7
8
namespace
C
{
9
int
c
;
10
}
11
12
namespace
B
{
13
using namespace
C
;
14
int
b
;
15
}
16
17
namespace
C
{
18
using namespace
B
;
19
using namespace
A
;
20
}
21
22
void
test
() {
23
C
::
a
++;
24
C
::
b
++;
25
C
::
c
++;
26
}