Files
clang-p2996/lldb/test/lang/cpp/global_operators/main.cpp
Paul Herman 641e1987d6 Fix evaluation of global operators in C++
llvm-svn: 245508
2015-08-19 21:44:56 +00:00

17 lines
221 B
C++

struct Struct {
int value;
};
bool operator==(const Struct &a, const Struct &b) {
return a.value == b.value;
}
int main() {
Struct s1, s2, s3;
s1.value = 3;
s2.value = 5;
s3.value = 3;
return 0; // break here
}