☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang-tools-extra
/
include-cleaner
/
test
/
nocrash.cpp
☽
☼
clang-tools-extra/include-cleaner/test/nocrash.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: clang-include-cleaner %s --
2
3
namespace std {
4
class Foo {};
5
bool operator==(Foo, int) { return false; }
6
}
7
// no crash on a reference to a non-identifier symbol (operator ==).
8
bool s = std::operator==(std::Foo(), 1);