Sign in
chromium
/
external
/
github.com
/
llvm
/
llvm-project.git
/
827171398116e1902acc57d5559636cec2e42858
/
.
/
clang-tools-extra
/
include-cleaner
/
test
/
nocrash.cpp
blob: 60e0f098867c6974a6c174db9ed60b7dd94ae9d3 [
file
] [
log
] [
blame
]
// RUN: clang-include-cleaner %s --
namespace
std
{
class
Foo
{};
bool
operator
==(
Foo
,
int
)
{
return
false
;
}
}
// no crash on a reference to a non-identifier symbol (operator ==).
bool
s
=
std
::
operator
==(
std
::
Foo
(),
1
);