mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 02:16:37 +00:00
9 lines
223 B
C++
9 lines
223 B
C++
// 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);
|