brintos

brintos / llvm-project-archived public Read only

0
0
Text · 223 B · 60e0f09 Raw
9 lines · cpp
1// RUN: clang-include-cleaner %s --2 3namespace std {4class Foo {};5bool operator==(Foo, int) { return false; }6}7// no crash on a reference to a non-identifier symbol (operator ==).8bool s = std::operator==(std::Foo(), 1);9