hanchenye-llvm-project/clang/test/CodeGenCXX/assign-operator.cpp

10 lines
110 B
C++

// RUN: %clang_cc1 %s -emit-llvm-only -verify
class x {
int operator=(int);
};
void a() {
x a;
a = 1u;
}