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
/
friend-out-of-line.cpp
blob
ab75a4f8ca44680d7bf92264671bc67caeac6b0f
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
// <rdar://problem/10204947>
5
namespace
N
{
6
class
X
;
7
};
8
9
class N
::
X
{
10
template
<
typename T
>
friend
const
T
&
f
(
const
X
&);
11
friend
const int
&
g
(
const
X
&);
12
friend class
Y
;
13
};