Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
395228fdc343df39c2507e414dc1406a185c6d37
/
.
/
test
/
SemaCXX
/
PR8884.cpp
blob: 4026465a25fd7828ec818e1aad966bdc555978f8 [
file
] [
log
] [
blame
]
Rafael Espindola
706df2f
2011-01-20 02:26:24 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -fsyntax-only %s
2
extern
"C"
{
3
class
bar
{
4
friend
struct
foo
;
5
static
struct
foo
&
baz
();
6
};
7
struct
foo
{
8
void
zed
()
{
9
bar
::
baz
();
10
}
11
};
12
}