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

10 lines
108 B
C++

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