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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
PR10447.cpp
blob
0c57177b872a519bd709f31434646de283b767a0
1
// RUN: %clang_cc1 -verify %s
2
// expected-no-diagnostics
3
4
// PR12223
5
namespace
test1
{
6
namespace
N
{
7
extern
"C"
void
f_test1
(
struct
S
*);
8
void
g
(
S
*);
9
}
10
namespace
N
{
11
void
f
(
struct
S
*
s
) {
12
g
(
s
);
13
}
14
}
15
}
16
17
// PR10447
18
namespace
test2
{
19
extern
"C"
{
20
void
f_test2
(
struct
Bar
*) { }
21
test2
::
Bar
*
ptr
;
22
}
23
}