Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
5eb810024dc8a1d12d5f066c02c978f07c4fcb00
/
.
/
test
/
SemaTemplate
/
friend.cpp
blob: 27299523862ec71040a4cbfb787f7b79c5a217ad [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
template
<
typename
T
>
struct
A
{
struct
B
{
};
friend
struct
B
;
};
void
f
()
{
A
<int>
::
B b
;
}
struct
C0
{
friend
struct
A
<int>
;
};