Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
safecode
/
tools
/
clang
/
test
/
CXX
/
dcl.decl
/
dcl.name
/
p1.cpp
blob: 7586007cc7b3892706f50bc8f15d3001fb82088d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
namespace
pr6200
{
struct
v
{};
struct
s
{
int
i
;
operator
struct
v
()
{
return
v
();
};
};
void
f
()
{
// Neither of these is a declaration.
(
void
)
new
struct
s
;
(
void
)&
s
::
operator
struct
v
;
}
}